diff options
author | Moonchild <moonchild@palemoon.org> | 2023-03-07 00:01:58 +0100 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2023-03-07 00:01:58 +0100 |
commit | 517ab728ac483af67fadb6cb37c1d43905a36a74 (patch) | |
tree | fe23ac2d4707c8906b97345b250d710bcbcf1d5e /toolkit/modules | |
parent | 4d38cb76c21607ef3c7b74686730e965343f3909 (diff) | |
download | uxp-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.jsm | 12 |
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 || |