summaryrefslogtreecommitdiffstats
path: root/testing/mochitest/tests/browser/browser_sanityException.js
blob: 2678dd80ad7ffa4671d7243133979d7f254d4e09 (plain)
1
2
3
4
5
function test() {
  ok(true, "ok called");
  expectUncaughtException();
  throw new Error("this is a deliberately thrown exception");
}