diff options
Diffstat (limited to 'testing/mochitest/tests/browser/browser_fail_async_throw.js')
-rw-r--r-- | testing/mochitest/tests/browser/browser_fail_async_throw.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/mochitest/tests/browser/browser_fail_async_throw.js b/testing/mochitest/tests/browser/browser_fail_async_throw.js new file mode 100644 index 000000000..201cb241e --- /dev/null +++ b/testing/mochitest/tests/browser/browser_fail_async_throw.js @@ -0,0 +1,7 @@ +function test() { + function end() { + throw "thrown exception"; + } + waitForExplicitFinish(); + setTimeout(end, 1000); +} |