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