summaryrefslogtreecommitdiff
path: root/toolkit/modules
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-03-07 00:01:58 +0100
committerMoonchild <moonchild@palemoon.org>2023-03-07 00:01:58 +0100
commit517ab728ac483af67fadb6cb37c1d43905a36a74 (patch)
treefe23ac2d4707c8906b97345b250d710bcbcf1d5e /toolkit/modules
parent4d38cb76c21607ef3c7b74686730e965343f3909 (diff)
downloaduxp-517ab728ac483af67fadb6cb37c1d43905a36a74.tar.gz
Issue #2133 - Part 2: Remove nsIPrivateBrowsingTrackingProtectionWhitelist
This removes the in-memory whitelist for PB mode.
Diffstat (limited to 'toolkit/modules')
-rw-r--r--toolkit/modules/PrivateBrowsingUtils.jsm12
1 files changed, 0 insertions, 12 deletions
diff --git a/toolkit/modules/PrivateBrowsingUtils.jsm b/toolkit/modules/PrivateBrowsingUtils.jsm
index 6a84eef93f..bf59db22ed 100644
--- a/toolkit/modules/PrivateBrowsingUtils.jsm
+++ b/toolkit/modules/PrivateBrowsingUtils.jsm
@@ -50,18 +50,6 @@ this.PrivateBrowsingUtils = {
.QueryInterface(Ci.nsILoadContext);
},
- addToTrackingAllowlist(aURI) {
- let pbmtpWhitelist = Cc["@mozilla.org/pbm-tp-whitelist;1"]
- .getService(Ci.nsIPrivateBrowsingTrackingProtectionWhitelist);
- pbmtpWhitelist.addToAllowList(aURI);
- },
-
- removeFromTrackingAllowlist(aURI) {
- let pbmtpWhitelist = Cc["@mozilla.org/pbm-tp-whitelist;1"]
- .getService(Ci.nsIPrivateBrowsingTrackingProtectionWhitelist);
- pbmtpWhitelist.removeFromAllowList(aURI);
- },
-
get permanentPrivateBrowsing() {
try {
return gTemporaryAutoStartMode ||