gecko-dev/testing/mochitest/tests/browser/browser_requestLongerTimeout.js

10 lines
174 B
JavaScript

function test() {
requestLongerTimeout(2);
function end() {
ok(true, "should not time out");
finish();
}
waitForExplicitFinish();
setTimeout(end, 40000);
}