Closed Bug 1438364 Opened 3 years ago Closed 1 year ago
Cleanup data for uninstalled extensions in Extension
47 bytes, text/x-phabricator-request
|Details | Review|
Currently if you're storing anything in ExtensionSettingsStore you need to ensure that you clean it up in the onUninstall callback or we'll get a storage/memory leak. There isn't normally a lot of data in there but it's quite easy to forget to clean something up right now. When an extension is uninstalled the ExtensionSettingsStore should remove all data for that extension. That should prevent leaks in the future but won't cleanup anything that we've already leaked. It might be appropriate to do a cleanup on startup or shutdown as well based on the currently installed extensions.
Attachment #9088320 - Attachment description: Bug 1438364 cleanup settings data for uninstalled extensions → Bug 1438364 ensure settings data is cleared during uninstall
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/144ddd75f003 ensure settings data is cleared during uninstall r=robwu
Flags: needinfo?(mixedpuppy) → qe-verify-
You need to log in before you can comment on or make changes to this bug.