gecko/testing/mochitest/tests/browser/browser_fail_unexpectedTimeout.js

13 lines
281 B
JavaScript

function test() {
function message() {
info("This should delay timeout");
}
function end() {
ok(true, "Should have not timed out, but notified long running test");
finish();
}
waitForExplicitFinish();
setTimeout(message, 20000);
setTimeout(end, 40000);
}