+199
−122
Loading
Bug 1365649 - Improve browser-chrome self-tests and the "fail-if" manifest property handling. r=Mossop 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 --HG-- extra : rebase_source : 498914c84ab69dd484fb5487ad9967073c331fd3