gecko/testing/mochitest/tests/browser/browser_sanityException2.js

12 lines
215 B
JavaScript
Raw Normal View History

function test() {
waitForExplicitFinish();
ok(true, "ok called");
executeSoon(function() {
expectUncaughtException();
throw "uncaught exception";
});
executeSoon(function() {
finish();
});
}