Mozilla/mozilla/testing/mochitest/tests/browser/browser_fail_async_throw.js
gavin%gavinsharp.com 2b7ffdcedd Committing a few tests that fail intentionally to test the buildbot error reporting, will disable these once the test is complete
git-svn-id: svn://10.0.0.236/trunk@229897 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-13 15:29:05 +00:00

8 lines
125 B
JavaScript

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