blob: d0aef231bd365cd194fbe6624799cb158fa91d1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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();
// eslint-disable-next-line mozilla/no-arbitrary-setTimeout
setTimeout(message, 20000);
// eslint-disable-next-line mozilla/no-arbitrary-setTimeout
setTimeout(end, 40000);
}
|