Closed Bug 1875912 Opened 1 year ago Closed 1 year ago

Remove webextension.id and use engine.identifier when we're ready to remove old search-config and use search-config-v2

Categories

(Firefox :: Search, task, P3)

task

Tracking

()

RESOLVED DUPLICATE of bug 1870687

People

(Reporter: mcheang, Assigned: mcheang)

Details

In Bug 1872940, a patch was put up to enable search service reading and writing the user’s engines in a format that is compatible with the new search configuration turned on or off. We decided to use the old ids and locale format, webextension.id and webextension.locale for appProvidedSearchEngines until all clients move over to search-config-v2.

The new search configuration uses different search engine identifiers (e.g. google, ebay-uk) to the old configuration (e.g. google@search.mozilla.orgdefault, ebay@search.mozilla.orguk). If we used engine identifiers (e.g. google, ebay-uk), the search service would not be able to retrieve the engines from the user's settings which has the old ids (e.g. google@search.mozilla.orgdefault, ebay@search.mozilla.orguk).

This bug is a reminder for us to remove webextension.id and webextension.locale when all clients have migrated over to the new configuration and use the search engine identifiers (e.g. google, ebay-uk) from search-config-v2

This was already filed as bug 1870687, so I'll duplicate your comment across there.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1870687
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.