Bug 1525763 - Use browser:purge-sessionStorage instead of extension:purge-sessionStorage in SiteDataManager.jsm. r=asuth a=lizzard
authorJohann Hofmann <jhofmann@mozilla.com>
Thu, 07 Feb 2019 08:06:21 +0000
changeset 515959 191b3e80ff000ca6f352910e9d8ff8e52834bb70
parent 515958 1cccfe09e69b7f57d0261868ddeae5e4f3545fbb
child 515960 87d73e0f898fdcadfeba5ac3ab53546231d1b4bb
push id1953
push userffxbld-merge
push dateMon, 11 Mar 2019 12:10:20 +0000
treeherdermozilla-release@9c35dcbaa899 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersasuth, lizzard
bugs1525763
milestone66.0
Bug 1525763 - Use browser:purge-sessionStorage instead of extension:purge-sessionStorage in SiteDataManager.jsm. r=asuth a=lizzard Differential Revision: https://phabricator.services.mozilla.com/D18894
browser/modules/SiteDataManager.jsm
--- a/browser/modules/SiteDataManager.jsm
+++ b/browser/modules/SiteDataManager.jsm
@@ -339,17 +339,17 @@ var SiteDataManager = {
 
     let unknownHost = "";
     let promises = [];
     for (let host of hosts) {
       let site = this._sites.get(host);
       if (site) {
         // Clear localStorage & sessionStorage
         Services.obs.notifyObservers(null, "extension:purge-localStorage", host);
-        Services.obs.notifyObservers(null, "extension:purge-sessionStorage", host);
+        Services.obs.notifyObservers(null, "browser:purge-sessionStorage", host);
         this._removePermission(site);
         this._removeAppCache(site);
         this._removeCookies(site);
         promises.push(ServiceWorkerCleanUp.removeFromHost(host));
         promises.push(this._removeQuotaUsage(site));
       } else {
         unknownHost = host;
         break;