Closed
Bug 1976703
Opened 7 months ago
Closed 5 months ago
Replace UITour references to `nsISearchEngine.identifier` with `id`
Categories
(Firefox :: Tours, task)
Firefox
Tours
Tracking
()
RESOLVED
FIXED
144 Branch
| Tracking | Status | |
|---|---|---|
| firefox144 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(1 file)
In bug 1877721, we'd like to remove nsISearchEngine.identifier as it is ambiguous with what it is, and overlaps with id and telemetryId.
The UITour code currently uses it in two places:
getConfiguration.- The
sendPageCallbackis called with an object, containing asearchEngineIdentifierand a list ofengines.searchEngineIdentifiercan be replaced by a check for application (config) engine & returningidif it is, ornull, if not.- The
engineslist should be filtered by application (config) engine and then also useidinstead ofidentifier. Note that the filtering for visible engines should be kept.
- The
setDefaultSearchEngineshould use the newernsISearchEngine.getEngineByIdfunction rather than handling its own lookup.
As far as we can tell, the Bedrock website code doesn't use these currently (getConfiguration, setDefaultSearchEngine), hence we should be fine to update these.
| Assignee | ||
Comment 1•5 months ago
|
||
Updated•5 months ago
|
Assignee: nobody → standard8
Status: NEW → ASSIGNED
Pushed by mbanner@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/77f1160f6eed
https://hg.mozilla.org/integration/autoland/rev/d8d0bc4713c3
Change UITour to use the search engine id rather than an id which includes a telemetry suffix. r=omc-reviewers,pdahiya
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox144:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch
Updated•4 months ago
|
QA Whiteboard: [qa-triage-done-c145/b144]
You need to log in
before you can comment on or make changes to this bug.
Description
•