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 000000000..2039946f9 --- /dev/null +++ b/testing/mochitest/tests/browser/browser_sanityException.js @@ -0,0 +1,5 @@ +function test() { + ok(true, "ok called"); + expectUncaughtException(); + throw "this is a deliberately thrown exception"; +} |