Closed
Bug 1406695
Opened 4 years ago
Closed 4 years ago
Tests should fail if a browser.test.onMessage handler throws an error in tests
Categories
(WebExtensions :: General, enhancement, P5)
WebExtensions
General
Tracking
(firefox57 wontfix, firefox58 fixed)
RESOLVED
FIXED
mozilla58
People
(Reporter: emk, Assigned: emk)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
Currently tests will just hang up and timeout because applySafe will swallow exceptions.
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•4 years ago
|
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Updated•4 years ago
|
status-firefox57:
--- → wontfix
Priority: -- → P5
Comment 2•4 years ago
|
||
| mozreview-review | ||
Comment on attachment 8916317 [details] Bug 1406695 - Fail if a browser.test.onMessage handler throws an error. https://reviewboard.mozilla.org/r/187526/#review193798 This looks good, thank you! But please to a thorough try run (at least toolkit/components/extensions, browser/components/extensions, and mobile/android/components/extensions) before landing.
Attachment #8916317 -
Flags: review?(aswan) → review+
| Assignee | ||
Comment 3•4 years ago
|
||
I already run a try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=99f0882c266eaeb4f70331fdfde548d68d6bcc8a https://treeherder.mozilla.org/#/jobs?repo=try&revision=aac7223ef6afb19a6deb72209e8bfb4b3392f991
Pushed by VYV03354@nifty.ne.jp: https://hg.mozilla.org/integration/autoland/rev/6f83e51a6d78 Fail if a browser.test.onMessage handler throws an error. r=aswan
Comment 5•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6f83e51a6d78
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox58:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
Comment 6•4 years ago
|
||
Thanks so much, Masatoshi! Your contribution has been added to our recognition wiki: https://wiki.mozilla.org/Add-ons/Contribute/Recognition#October_2017 I look forward to seeing you around. :)
Is manual testing required on this bug? If yes, please provide some STR and the proper extension(if required) or set the “qe-verify -“ flag. Thanks!
Flags: needinfo?(VYV03354)
| Assignee | ||
Updated•4 years ago
|
Flags: needinfo?(VYV03354) → qe-verify-
Updated•3 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•