disabling/uninstalling extension in safe-mode leaks settings/prefs
Categories
(WebExtensions :: General, defect, P1)
Tracking
(firefox72 verified, firefox73 verified)
People
(Reporter: mixedpuppy, Assigned: mixedpuppy)
References
(Blocks 1 open bug)
Details
Attachments
(2 files, 1 obsolete file)
If you restart in safe mode then disable or uninstall an extension, ExtensionSettings and ExtensionPreferencesManager do not update/remove any settings.
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Can you give the patches here a look over? I haven't written up tests yet, but have a solid manual str. The uninstall works great. The issue with the disable is that we need to somehow support enable, so I haven't gone further down that road yet.
Assignee | ||
Comment 5•5 years ago
|
||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
The priority flag is not set for this bug.
:jimm, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Comment on attachment 9090812 [details]
Bug 1578513 disable all extension settings in safemode
Revision D44886 was moved to bug 1586543. Setting attachment 9090812 [details] to obsolete.
Assignee | ||
Comment 8•5 years ago
|
||
Comment 10•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b2a4d2f3e995
https://hg.mozilla.org/mozilla-central/rev/7c92eb8c4979
Comment 11•5 years ago
|
||
Hello,
In order to verify this ticket I've tested the following STR:
- Launch browser and install https://addons.mozilla.org/en-US/firefox/addon/new-tab-override/ extension.
- In about:config three new preferences have been added when searching for using the "newtab" keyword:
extensions.webextensions.ExtensionStorageIDB.migrated.newtaboverride@agenedia.com
browser.newtab.extensionControlled
browser.newtab.privateAllowed - Go to About:support and click on the "Restart with Add-ons Disabled" option.
- After restart verify that newtab preferences are still listed in about:config.
- Either from Addons Manager (where all addons have been disabled) or from AMO remove the extension.
- Restart the browser and check that the preferences from point 2 have been removed.
Note that the preferences are not removed after about:config refresh when the extension is uninstalled in safe mode, until after restart.
Tested on Windows Pro 10 64-bit, Ubuntu 18.03.4 LTS and macOS Catalina 10.15 on FF Beta 72.0b4 (20191206183317) and Ff Nightly 73.0a1 (20191209215019).
Is there another scenario that should be verified, to check other settings are updated/ removed?
Assignee | ||
Comment 12•5 years ago
|
||
(In reply to Miruna Curtean from comment #11)
Note that the preferences are not removed after about:config refresh when the extension is uninstalled in safe mode, until after restart.
If you're uninstalling from about:addons, you may need to refresh about:addons before the uninstall takes effect. The preferences should be reset at that point, without a restart.
Comment 13•5 years ago
|
||
If you're uninstalling from about:addons, you may need to refresh about:addons before the uninstall takes effect. The preferences should be reset at that point, without a restart.
Indeed they are. Thank you for the tip.
I've verified that as well on Windows Pro 10 64-bit, Ubuntu 18.03.4 LTS and macOS Catalina 10.15 on FF Beta 72.0b5 (20191210230245) and FF Nightly 73.0a1 (20191211214629) and am marking this issue as verified fixed.
Description
•