comparison: testing/mochitest/tests/browser/browser_sanityException2.js
testing/mochitest/tests/browser/browser_sanityException2.js
- branch
- TOR_BUG_9701
- changeset 15
- b8a032363ba2
equal
deleted
inserted
replaced
|
1 function test() { |
|
2 waitForExplicitFinish(); |
|
3 ok(true, "ok called"); |
|
4 executeSoon(function() { |
|
5 expectUncaughtException(); |
|
6 throw "this is a deliberately thrown exception"; |
|
7 }); |
|
8 executeSoon(function() { |
|
9 finish(); |
|
10 }); |
|
11 } |