Skip to content

Instantly share code, notes, and snippets.

@Gozala
Created April 19, 2011 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Gozala/927053 to your computer and use it in GitHub Desktop.
Save Gozala/927053 to your computer and use it in GitHub Desktop.
function next(ms) {
if (win["about:buildconfig"]) {
asserts.forEach(function(fn) {
fn(test, win);
});
done();
} else if (ms >= 0) {
setTimeout(next, 500, ms - 500);
} else {
assert.fail("about:buildconfig page-mod to be executed");
}
}(ms);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment