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

8 lines
125 B
JavaScript
Raw Normal View History

function test() {
function end() {
throw "thrown exception";
}
waitForExplicitFinish();
setTimeout(end, 1000);
}