When a search engine is marked as deprecated, move its details over to a user search engine if it has been used recently
Categories
(Firefox :: Search, task, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [sng])
Attachments
(2 external files, 1 obsolete file)
When a search engine is marked as deprecated in the search configuration, we already remove it from the list (bug 2070361), however, we also want to migrate its details to a user engine if it has been used recently, or if it is the default search engine.
This applies with the following conditions:
- If the user has used the engine within the last 30 days (form history entries for the engine), or it is their default or private default engine, then:
- Create a user search engine with the same name, URLs, aliases and icon.
- Copy the user's alias and order (hideOneOffButton is not copied).
- If it was the default or private default, the new engine should be kept as (private) default.
- If the user has hidden the engine, it is not migrated, even if it was used recently.
- If the engine is overridden by an add-on or OpenSearch engine, it is not migrated; the existing override restoration applies.
Additional notes:
- The migration may happen at startup or when engines are reloaded due to a configuration update.
- Partner codes and experiment parameters are expected to be removed in the configuration when an engine is marked as deprecated, so no filtering is done in the client.
- Engines installed by the user via contextual search and whose configuration is deprecated are always converted to user search engines (unless hidden).
- Deprecated configurations offered for contextual install are offered as user search engines.
Updated•1 month ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Comment 2•5 days ago
|
||
If the configuration engine offered for contextual search is deprecated, offer
it as a user search engine rather than a user installed configuration engine.
| Assignee | ||
Comment 3•4 days ago
|
||
Hidden and overridden engines are not migrated; overridden engines are restored by the existing override handling.
| Assignee | ||
Comment 4•4 days ago
|
||
Engines installed via contextual search that are deprecated in the
configuration are now converted to user search engines when loading or
reloading engines.
Comment 5•3 days ago
|
||
Comment on attachment 9693481 [details]
Bug 2088947 - Create user search engines when installing deprecated configuration engines via contextual search. r?#search-reviewers!
Revision D347535 was moved to bug 2088940. Setting attachment 9693481 [details] to obsolete.
Comment 7•2 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f2ef6694201f
https://hg.mozilla.org/mozilla-central/rev/e342b16e9d49
Description
•