pjs/testing/mochitest/tests/browser/browser_fail_timeout.js

9 строки
144 B
JavaScript

function test() {
function end() {
ok(true, "didn't time out?");
finish();
}
waitForExplicitFinish();
setTimeout(end, 20000);
}