diff options
Diffstat (limited to 'testing/mochitest/tests/browser/browser_fail_timeout.js')
-rw-r--r-- | testing/mochitest/tests/browser/browser_fail_timeout.js | 8 |
1 files changed, 8 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 000000000..6b99693d9 --- /dev/null +++ b/testing/mochitest/tests/browser/browser_fail_timeout.js @@ -0,0 +1,8 @@ +function test() { + function end() { + ok(false, "should have timed out"); + finish(); + } + waitForExplicitFinish(); + setTimeout(end, 40000); +} |