Closed
Bug 1330076
Opened 7 years ago
Closed 7 years ago
Rewrite test_chrome_ext_shutdown_cleanup.html into an xpcshell test
Categories
(WebExtensions :: General, defect)
WebExtensions
General
Tracking
(firefox53 fixed)
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: rpl, Assigned: rpl)
References
Details
(Whiteboard: triaged)
Attachments
(1 file)
The goal of this issue is rewriting the toolkit/components/extensions/test/mochitest/test_chrome_ext_shutdown_cleanup.html into an xpcshell. One reason for doing so is related to Bug 1308271 which is going to ship a WebExtension as a system addon and it breaks this test because the GlobalManager is always initialized when this test runs. Converting this test into an xpcshell should prevent this failure because the new xpcshell test will not run in an environment with any preinstalled system addon (and as a nice side-effect, this test will run faster).
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8825565 -
Flags: review?(aswan)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → lgreco
Assignee | ||
Comment 2•7 years ago
|
||
Pushed to try: - https://treeherder.mozilla.org/#/jobs?repo=try&revision=94a7521409d76ead6b98f6091a454cb4533930b9
Status: NEW → ASSIGNED
Comment 3•7 years ago
|
||
I can confirm that this test fixes the issues we have in bug 1308271. Thank you very much! :)
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8825565 [details] Bug 1330076 - Rewrite test_chrome_ext_shutdown_cleanup.html into an xpcshell test https://reviewboard.mozilla.org/r/103690/#review104626
Attachment #8825565 -
Flags: review?(aswan) → review+
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•7 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #5) > Autoland couldn't rebase this for landing. My apologies for that. Patch rebased (with the small conflict resolved).
Assignee | ||
Updated•7 years ago
|
Keywords: checkin-needed
Updated•7 years ago
|
Whiteboard: triaged
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/autoland/rev/b04953cd621e Rewrite test_chrome_ext_shutdown_cleanup.html into an xpcshell test r=aswan
Keywords: checkin-needed
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b04953cd621e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•