An extension with an experimental api will not clean up in safe mode
Categories
(WebExtensions :: General, defect, P3)
Tracking
(Not tracked)
People
(Reporter: mixedpuppy, Unassigned)
References
(Blocks 1 open bug)
Details
Similar to bug 1578513, the issue here is that we cannot access the experimental api without loading the extension. If the experimental api uses ExtensionPreferencesManager the settings will be left in place and any changed prefs are not reset.
My thought on this is that we store the "prefNames" passed as part of addSetting along with the other data we store. This would allow the prefs to be reset without loading the extension.
Comment 1•5 years ago
|
||
As documented here:
https://searchfox.org/mozilla-central/rev/7ed8e2d3d1d7a1464ba42763a33fd2e60efcaedc/toolkit/components/extensions/docs/lifecycle.rst#53-58
experimental APIs cannot correctly handled lifecycle events -- APIs that need to do so need to be in-tree.
Reporter | ||
Comment 2•5 years ago
|
||
But we can clean up preferences with a minor change. Our line extensions and normandy experiments are doing this.
Reporter | ||
Updated•5 years ago
|
Reporter | ||
Updated•4 years ago
|
Description
•