Closed
Bug 1464720
Opened 7 years ago
Closed 7 years ago
Convert remaining fixture add-ons to in-test-generated XPIs
Categories
(Toolkit :: Add-ons Manager, enhancement, P3)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
mozilla62
| Tracking | Status | |
|---|---|---|
| firefox62 | --- | fixed |
People
(Reporter: kmag, Assigned: kmag)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Fixture add-ons make tests harder to understand, and particularly make it much harder to convert bootstrap.js add-on tests to use WebExtensions. We have the tools to generated these add-ons directly from test files. We should do so.
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Updated•7 years ago
|
Priority: -- → P3
Comment 4•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8981030 [details]
Bug 1464720: Remove remaining in-tree fixture add-ons.
https://reviewboard.mozilla.org/r/247146/#review257652
thanks
::: toolkit/mozapps/extensions/test/xpcshell/test_delay_update.js:37
(Diff revision 3)
> + "install.rdf": {
> + "id": "test_delay_update_complete@tests.mozilla.org",
> + "version": "2.0",
> + "name": "Test Delay Update Complete",
> + },
> + "bootstrap.js": "ChromeUtils.import(\"resource://gre/modules/Services.jsm\");\nChromeUtils.import(\"resource://gre/modules/AddonManager.jsm\");\n\nconst ADDON_ID = \"test_delay_update_complete@tests.mozilla.org\";\n\nfunction install(data, reason) {}\n\nfunction startup(data, reason) {}\n\nfunction shutdown(data, reason) {}\n"
this doesn't appear to do anything?
Attachment #8981030 -
Flags: review?(aswan) → review+
| Assignee | ||
Comment 5•7 years ago
|
||
| mozreview-review-reply | ||
Comment on attachment 8981030 [details]
Bug 1464720: Remove remaining in-tree fixture add-ons.
https://reviewboard.mozilla.org/r/247146/#review257652
> this doesn't appear to do anything?
Hm. Yeah. This was all done by a script that just copied the original contents of the XPIs. I fixed a bunch of cargo-culted bootstrap scripts that looked like this, but I guess I missed some.
Comment 6•7 years ago
|
||
| mozreview-review | ||
Comment on attachment 8981030 [details]
Bug 1464720: Remove remaining in-tree fixture add-ons.
https://reviewboard.mozilla.org/r/247146/#review258006
Attachment #8981030 -
Flags: review+
| Assignee | ||
Comment 7•7 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/323428ac575e652a511c9759ea1ceb9366748633
Bug 1464720: Remove remaining in-tree fixture add-ons. r=aswan r=flod
Comment 8•7 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
You need to log in
before you can comment on or make changes to this bug.
Description
•