mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 16:25:38 +00:00
Bug 1483440 - Part 4 - Don't send purge-domain-data when cleaning up site preferences. r=baku
As far as I can tell this was only ever done to give legacy add-ons the chance to clean up user data and isn't needed anymore (and had the strange side effect that e.g. localStorage was cleared when removing the site zoom settings). Differential Revision: https://phabricator.services.mozilla.com/D16463 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
43ac055f78
commit
0ecba2db7d
@ -645,9 +645,6 @@ const PreferencesCleaner = {
|
||||
.getService(Ci.nsIContentPrefService2);
|
||||
cps2.removeBySubdomain(aHost, null, {
|
||||
handleCompletion: aReason => {
|
||||
// Notify other consumers, including extensions
|
||||
Services.obs.notifyObservers(null, "browser:purge-domain-data",
|
||||
aHost);
|
||||
if (aReason === cps2.COMPLETE_ERROR) {
|
||||
aReject();
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user