Bug 1477539 - Sanitizer.jsm must cleanup content preferences, r=Gijs a=ritu
authorAndrea Marchesini <amarchesini@mozilla.com>
Mon, 30 Jul 2018 23:15:15 +0200
changeset 478211 953f3ace7cf47f27a11c003e5893f363bfa236cd
parent 478210 43ad096a472bf75f105573c958aa7c704b42b5e2
child 478212 60840467a49edb37b04d59c6e1487251e5ded4f5
push id9571
push usernerli@mozilla.com
push dateThu, 02 Aug 2018 13:49:02 +0000
treeherdermozilla-beta@60840467a49e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs, ritu
bugs1477539
milestone62.0
Bug 1477539 - Sanitizer.jsm must cleanup content preferences, r=Gijs a=ritu
browser/modules/Sanitizer.jsm
--- a/browser/modules/Sanitizer.jsm
+++ b/browser/modules/Sanitizer.jsm
@@ -428,17 +428,17 @@ var Sanitizer = {
       }
     },
 
     siteSettings: {
       async clear(range) {
         let refObj = {};
         TelemetryStopwatch.start("FX_SANITIZE_SITESETTINGS", refObj);
         await clearData(range, Ci.nsIClearDataService.CLEAR_PERMISSIONS |
-                               Ci.nsIClearDataService.CLEAR_PREFERENCES |
+                               Ci.nsIClearDataService.CLEAR_CONTENT_PREFERENCES |
                                Ci.nsIClearDataService.CLEAR_DOM_PUSH_NOTIFICATIONS |
                                Ci.nsIClearDataService.CLEAR_SECURITY_SETTINGS);
         TelemetryStopwatch.finish("FX_SANITIZE_SITESETTINGS", refObj);
       }
     },
 
     openWindows: {
       _canCloseWindow(win) {