diff options
Diffstat (limited to 'testing/mochitest/tests/browser/browser_sanityException.js')
-rw-r--r-- | testing/mochitest/tests/browser/browser_sanityException.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testing/mochitest/tests/browser/browser_sanityException.js b/testing/mochitest/tests/browser/browser_sanityException.js new file mode 100644 index 0000000000..2678dd80ad --- /dev/null +++ b/testing/mochitest/tests/browser/browser_sanityException.js @@ -0,0 +1,5 @@ +function test() { + ok(true, "ok called"); + expectUncaughtException(); + throw new Error("this is a deliberately thrown exception"); +} |