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

9 строки
141 B
JavaScript

function test() {
waitForExplicitFinish();
function done() {
ok(true, "timeout ran");
finish();
}
setTimeout(done, 10000);
}