diff options
Diffstat (limited to 'testing/mochitest/tests/browser/browser_fail_timeout.js')
-rw-r--r-- | testing/mochitest/tests/browser/browser_fail_timeout.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/mochitest/tests/browser/browser_fail_timeout.js b/testing/mochitest/tests/browser/browser_fail_timeout.js new file mode 100644 index 0000000000..44030a00f0 --- /dev/null +++ b/testing/mochitest/tests/browser/browser_fail_timeout.js @@ -0,0 +1,9 @@ +function test() { + function end() { + ok(false, "should have timed out"); + finish(); + } + waitForExplicitFinish(); + // eslint-disable-next-line mozilla/no-arbitrary-setTimeout + setTimeout(end, 40000); +} |