diff options
-rw-r--r-- | docshell/base/LoadContext.cpp | 3 | ||||
-rw-r--r-- | docshell/base/nsDocShell.cpp | 3 | ||||
-rw-r--r-- | modules/libpref/init/all.js | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/docshell/base/LoadContext.cpp b/docshell/base/LoadContext.cpp index 4c265e4246..761c852793 100644 --- a/docshell/base/LoadContext.cpp +++ b/docshell/base/LoadContext.cpp @@ -197,9 +197,6 @@ LoadContext::IsTrackingProtectionOn(bool* aIsTrackingProtectionOn) if (Preferences::GetBool("privacy.trackingprotection.enabled", false)) { *aIsTrackingProtectionOn = true; - } else if ((mOriginAttributes.mPrivateBrowsingId > 0) && - Preferences::GetBool("privacy.trackingprotection.pbmode.enabled", false)) { - *aIsTrackingProtectionOn = true; } else { *aIsTrackingProtectionOn = false; } diff --git a/docshell/base/nsDocShell.cpp b/docshell/base/nsDocShell.cpp index b07cb15ff1..430f2e614f 100644 --- a/docshell/base/nsDocShell.cpp +++ b/docshell/base/nsDocShell.cpp @@ -13656,9 +13656,6 @@ nsDocShell::IsTrackingProtectionOn(bool* aIsTrackingProtectionOn) { if (Preferences::GetBool("privacy.trackingprotection.enabled", false)) { *aIsTrackingProtectionOn = true; - } else if (UsePrivateBrowsing() && - Preferences::GetBool("privacy.trackingprotection.pbmode.enabled", false)) { - *aIsTrackingProtectionOn = true; } else { *aIsTrackingProtectionOn = false; } diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index 711b9bb7ef..ed4a7b5483 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -1208,8 +1208,6 @@ pref("privacy.popups.disable_from_plugins", 2); pref("privacy.GPCheader.enabled", false); // Enforce tracking protection in all modes pref("privacy.trackingprotection.enabled", false); -// Enforce tracking protection in Private Browsing mode -pref("privacy.trackingprotection.pbmode.enabled", false); pref("dom.event.contextmenu.enabled", true); pref("dom.event.clipboardevents.enabled", true); |