From 5db4923320c45333ee50e3ac7e06c47158c37512 Mon Sep 17 00:00:00 2001 From: Coroiu Cristina Date: Thu, 8 Aug 2019 22:19:24 +0300 Subject: [PATCH] Backed out changeset 2aee1f1d976c (bug 1566861) for browser-chrome failures at browser/base/content/test/static/browser_all_files_referenced.js on a CLOSED TREE --- browser/app/profile/firefox.js | 5 +- browser/components/BrowserGlue.jsm | 12 -- .../preferences/in-content/privacy.inc.xul | 104 ++++++++---------- .../preferences/in-content/privacy.js | 56 +--------- .../tests/browser_contentblocking.js | 23 +--- ..._search_subdialogs_within_preferences_2.js | 5 +- browser/components/preferences/permissions.js | 4 +- .../en-US/browser/preferences/permissions.ftl | 6 +- .../en-US/browser/preferences/preferences.ftl | 28 ++--- .../controlcenter/socialblock-disabled.svg | 2 +- .../controlcenter/tracker-image-disabled.svg | 14 +-- .../shared/controlcenter/tracker-image.svg | 2 +- .../themes/shared/incontentprefs/privacy.css | 11 +- 13 files changed, 81 insertions(+), 191 deletions(-) diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index a9e8d847a333..3962401bd5ec 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1587,9 +1587,6 @@ pref("browser.contentblocking.fingerprinting.preferences.ui.enabled", true); // Cryptomining: // "cm": cryptomining blocking enabled // "-cm": cryptomining blocking disabled -// Social Tracking Protection: -// "stp": social tracking protection enabled -// "-stp": social tracking protection disabled // Cookie behavior: // "cookieBehavior0": cookie behaviour BEHAVIOR_ACCEPT // "cookieBehavior1": cookie behaviour BEHAVIOR_REJECT_FOREIGN @@ -1598,7 +1595,7 @@ pref("browser.contentblocking.fingerprinting.preferences.ui.enabled", true); // "cookieBehavior4": cookie behaviour BEHAVIOR_REJECT_TRACKER // "cookieBehavior5": cookie behaviour BEHAVIOR_REJECT_TRACKER_AND_PARTITION_FOREIGN // One value from each section must be included in the browser.contentblocking.features.strict pref. -pref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior4,cm,fp,stp"); +pref("browser.contentblocking.features.strict", "tp,tpPrivate,cookieBehavior4,cm,fp"); // Hide the "Change Block List" link for trackers/tracking content in the custom // Content Blocking/ETP panel. By default, it will not be visible. There is also diff --git a/browser/components/BrowserGlue.jsm b/browser/components/BrowserGlue.jsm index 72d4af430ccb..da0f0ca21375 100644 --- a/browser/components/BrowserGlue.jsm +++ b/browser/components/BrowserGlue.jsm @@ -3600,7 +3600,6 @@ var ContentBlockingCategoriesPrefs = { "network.cookie.cookieBehavior": null, "privacy.trackingprotection.pbmode.enabled": null, "privacy.trackingprotection.enabled": null, - "privacy.trackingprotection.socialtracking.enabled": null, "privacy.trackingprotection.fingerprinting.enabled": null, "privacy.trackingprotection.cryptomining.enabled": null, }, @@ -3608,7 +3607,6 @@ var ContentBlockingCategoriesPrefs = { "network.cookie.cookieBehavior": null, "privacy.trackingprotection.pbmode.enabled": null, "privacy.trackingprotection.enabled": null, - "privacy.trackingprotection.socialtracking.enabled": null, "privacy.trackingprotection.fingerprinting.enabled": null, "privacy.trackingprotection.cryptomining.enabled": null, }, @@ -3659,16 +3657,6 @@ var ContentBlockingCategoriesPrefs = { "privacy.trackingprotection.cryptomining.enabled" ] = false; break; - case "stp": - this.CATEGORY_PREFS[type][ - "privacy.trackingprotection.socialtracking.enabled" - ] = true; - break; - case "-stp": - this.CATEGORY_PREFS[type][ - "privacy.trackingprotection.socialtracking.enabled" - ] = false; - break; case "cookieBehavior0": this.CATEGORY_PREFS[type]["network.cookie.cookieBehavior"] = Ci.nsICookieService.BEHAVIOR_ACCEPT; diff --git a/browser/components/preferences/in-content/privacy.inc.xul b/browser/components/preferences/in-content/privacy.inc.xul index 0f85da6dd8fc..ae1eca3cd38c 100644 --- a/browser/components/preferences/in-content/privacy.inc.xul +++ b/browser/components/preferences/in-content/privacy.inc.xul @@ -17,7 +17,7 @@