Closed Bug 1374241 Opened 7 years ago Closed 7 years ago

Add self-tests for unhandled rejection handling in browser-chrome tests

Categories

(Testing :: Mochitest, enhancement)

enhancement
Not set
normal

Tracking

(firefox56 fixed)

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: Paolo, Assigned: Paolo)

References

Details

This was originally part of bug 1242505, but will land separately after few days.
Fair warning, the mochitest selftests need a bit of extra path hackery to run browser-chrome. I started looking into fixing it but haven't had a chance to finish.
We're actually using a lesser form of self-test here, in that the browser-chrome test runner itself contains the code for detecting failures marked as expected. Thanks for the heads up though!
Pushed by paolo.mozmail@amadzone.org:
https://hg.mozilla.org/integration/mozilla-inbound/rev/8b0b1a47321a
Add self-tests for unhandled rejection handling in browser-chrome tests. r=Mossop
https://hg.mozilla.org/mozilla-central/rev/8b0b1a47321a
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in before you can comment on or make changes to this bug.