Upgrade legacy extension search engines to use the supported extension definition
Categories
(Firefox :: Search, task, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
Attachments
(3 files)
From looking at various data, there are a set of engines in user's profiles where the loadPath looks something like:
jar:[profile]/extensions/<extensionid>.xpi/<filename>.xml
The jar:
is optional, and profile
may be app
instead.
In most of the cases, these are cases where an extension used to define an OpenSearch engine, and then switched to the WebExtension definition but also changed the name of the search engine (e.g. foo
-> foo search
).
The change of name defeats the code we have to automatically upgrade these engines.
The remaining cases are where an add-on is no longer installed/enabled, but we failed to remove the associated search engine.
By switching these cases to the installed supported WebExtension version, this means that they will be updated to that defined by the WebExtension, and receive any future updates from the same.
If the extension is no longer installed, then we should remove the Search Engine, as we would have done previously.
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Also ensure the default engine remains the same.
Also remove engine3.xml because it is not used.
Assignee | ||
Comment 2•5 years ago
|
||
Depends on D103093
Assignee | ||
Comment 3•5 years ago
|
||
These should generally have been updated previously, but the search service expected a same-name match. We have seen instances where these were different so we should migrate them.
Depends on D103094
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f3f573106c1e
https://hg.mozilla.org/mozilla-central/rev/8ccb7b933d13
https://hg.mozilla.org/mozilla-central/rev/5a3f2b7bda73
Description
•