Bug 1477539 - Sanitizer.jsm must cleanup content preferences, r=Gijs
authorAndrea Marchesini <amarchesini@mozilla.com>
Mon, 30 Jul 2018 23:15:15 +0200
changeset 429244 61f9854c9a74dfd01de72628050f99463b6f2cc4
parent 429243 9035ff3757acd19ae5aece396bc2cc5ee61a58ce
child 429245 7fbc1f375d4ac2308057b91588e1e78f1e4d61c8
push id105852
push useramarchesini@mozilla.com
push dateMon, 30 Jul 2018 21:17:08 +0000
treeherdermozilla-inbound@7fbc1f375d4a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1477539
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1477539 - Sanitizer.jsm must cleanup content preferences, r=Gijs
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) {