Bug 1492563 - Enable blocking access to storage from tracking resources by default on all desktop platforms on Nightly r=baku
authorEhsan Akhgari <ehsan@mozilla.com>
Wed, 26 Sep 2018 00:13:30 +0000
changeset 489929 84f5f337b0a35c89ccc0dd7ac6735e873a2613f2
parent 489928 a48759a33738d8b5f4ad4659115e8bbd1e608c31
child 489930 525a441d5dd383b2c106cfd7c8282249f9259aff
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersbaku
bugs1492563
milestone64.0a1
Bug 1492563 - Enable blocking access to storage from tracking resources by default on all desktop platforms on Nightly r=baku Differential Revision: https://phabricator.services.mozilla.com/D6349
browser/app/profile/firefox.js
--- a/browser/app/profile/firefox.js
+++ b/browser/app/profile/firefox.js
@@ -1500,16 +1500,21 @@ pref("toolkit.telemetry.hybridContent.en
 pref("browser.ping-centre.telemetry", true);
 pref("browser.ping-centre.log", false);
 pref("browser.ping-centre.staging.endpoint", "https://onyx_tiles.stage.mozaws.net/v3/links/ping-centre");
 pref("browser.ping-centre.production.endpoint", "https://tiles.services.mozilla.com/v3/links/ping-centre");
 
 // Enable GMP support in the addon manager.
 pref("media.gmp-provider.enabled", true);
 
+// Enable blocking access to storage from tracking resources by default on Nightly
+#ifdef NIGHTLY_BUILD
+pref("network.cookie.cookieBehavior", 4 /* BEHAVIOR_REJECT_TRACKER */);
+#endif
+
 pref("browser.contentblocking.allowlist.storage.enabled", true);
 
 #ifdef NIGHTLY_BUILD
 pref("browser.contentblocking.global-toggle.enabled", true);
 #else
 pref("browser.contentblocking.global-toggle.enabled", false);
 #endif