Handle the case when an app provided engine is hidden/removed, and a WebExtension wants to select as default.
Categories
(Firefox :: Search, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | verified |
People
(Reporter: standard8, Assigned: standard8)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently, when an app-provided engine is hidden / removed, and a WebExtension wants to select that one as default, we end up in a strange state:
- The existing engine remains as default.
- Preferences says an add-on has set your default.
Ideally, we should probably prompt the user to check that they want to unhide the engine. For the first step, we're going to make it so that in this case nothing happens. A future step (and follow-up bug) will be to add a prompt.
Assignee | ||
Comment 1•4 years ago
|
||
Filed bug 1641811 for the follow-up.
Assignee | ||
Comment 2•4 years ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d82a23f070f6 Handle the case when an app provided engine is hidden/removed, and a WebExtension wants to select as default. r=daleharvey
Assignee | ||
Comment 4•4 years ago
|
||
qe-verify:
STR:
- Hide the DuckDuckGo engine
- Install DuckDuckGo Privacy Essentials
Without the patch the default engine does not get changed, but preferences will show DDG Privacy Essentials has set the default engine. iirc it also tries to add an additional engine (until restart).
With the patch, the default engine does not get changed, and preferences does not show any add-on as having set the default.
Would be good to run through some of the override tests as well (bug 1635220), as this code path is related to that.
Comment 5•4 years ago
|
||
Backed out changeset d82a23f070f6 for causing xpcshell failures in test_override_allowlist.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/1e5f15384a6f004ec6345b36090e5b565199b311
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=304375565&repo=autoland&lineNumber=3030
Assignee | ||
Comment 6•4 years ago
|
||
I forgot this would affect that test as well. Fixed, and pushing new patch.
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dffde7d17397 Handle the case when an app provided engine is hidden/removed, and a WebExtension wants to select as default. r=daleharvey
Comment 8•4 years ago
|
||
bugherder |
Comment 9•4 years ago
|
||
Verified with 78.0b8 on macOS 10.15.5, Windows 10, Ubuntu 18
Updated•4 years ago
|
Description
•