mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 14:17:36 -10:00
The browser-chrome self-test files now use the setExpectedFailuresForSelfTest function to specify the exact number of assertion failures that will be triggered. Also, most failures are now intercepted when specifying the "fail-if" property in a "browser.ini" manifest, while previously only those triggered using the "ok" function were intercepted. This allows re-enabling several browser-chome self-tests. MozReview-Commit-ID: DlDjWaJPfvH
6 lines
84 B
JavaScript
6 lines
84 B
JavaScript
setExpectedFailuresForSelfTest(1);
|
|
|
|
function test() {
|
|
throw "thrown exception";
|
|
}
|