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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 строки
236 B
JavaScript
Исходник Обычный вид История

function test() {
waitForExplicitFinish();
ok(true, "ok called");
executeSoon(function() {
expectUncaughtException();
throw "this is a deliberately thrown exception";
});
executeSoon(function() {
finish();
});
}