comparison: testing/mochitest/tests/browser/browser_sanityException2.js
testing/mochitest/tests/browser/browser_sanityException2.js
- changeset 0
- 6474c204b198
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 } |