Closed
Bug 1809638
Opened 1 year ago
Closed 1 year ago
Save the extension id in AddonSearchEngine's constructor rather than passing it to the init/update functions
Categories
(Firefox :: Search, task, P3)
Firefox
Search
Tracking
()
RESOLVED
FIXED
111 Branch
Tracking | Status | |
---|---|---|
firefox111 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
Details
Attachments
(1 file)
For AddonSearchEngine
s we are passing the extension id to #initWithManifest
and also updateFromManifest
.
This is unnecessary, as we can save it in the constructor and use it appropriately.
Additionally, it will protect against inadvertently changing the extension id when upgrading the search engine.
Assignee | ||
Comment 1•1 year ago
|
||
This save passing around the id in the update and init functions.
Depends on D166528
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d55613298e72 Save the extension id in AddonSearchEngine's constructor rather than in init(). r=search-reviewers,mcheang
Comment 3•1 year ago
|
||
Backed out for causing failures on test_TelemetryEnvironment_search.js
Flags: needinfo?(standard8)
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1e026b8dc0ec Save the extension id in AddonSearchEngine's constructor rather than in init(). r=search-reviewers,mcheang
Comment 6•1 year ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox111:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•