summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-06-10 15:56:01 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-06-10 15:56:01 +0300
commita0cca670db37a84674512948c54acd2673ddd704 (patch)
treeffbf3597ecb6bc78f125b0d9922a473db9894c85
parent3a863bece7aa02fe7d92645ba955515c7f1584fa (diff)
downloadUXP-a0cca670db37a84674512948c54acd2673ddd704.tar
UXP-a0cca670db37a84674512948c54acd2673ddd704.tar.gz
UXP-a0cca670db37a84674512948c54acd2673ddd704.tar.lz
UXP-a0cca670db37a84674512948c54acd2673ddd704.tar.xz
UXP-a0cca670db37a84674512948c54acd2673ddd704.zip
By default, disable tracking protection in Private Browsing mode if safebrowsing isn't built
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index d2266f812..b128c0b49 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1217,7 +1217,11 @@ pref("privacy.donottrackheader.enabled", false);
// Enforce tracking protection in all modes
pref("privacy.trackingprotection.enabled", false);
// Enforce tracking protection in Private Browsing mode
+#ifdef MOZ_SAFE_BROWSING
pref("privacy.trackingprotection.pbmode.enabled", true);
+#else
+pref("privacy.trackingprotection.pbmode.enabled", false);
+#endif
pref("dom.event.contextmenu.enabled", true);
pref("dom.event.clipboardevents.enabled", true);