[tor-commits] [tor-browser] 04/06: Bug 31064: Letterboxing, exempt browser extensions.

gitolite role git at cupani.torproject.org
Thu Nov 17 15:55:00 UTC 2022


This is an automated email from the git hooks/post-receive script.

richard pushed a commit to branch tor-browser-91.13.0esr-11.5-1
in repository tor-browser.

commit 763af12046244e254f0880932223dd8028327022
Author: hackademix <giorgio at maone.net>
AuthorDate: Thu Nov 10 23:02:47 2022 +0100

    Bug 31064: Letterboxing, exempt browser extensions.
---
 toolkit/components/resistfingerprinting/RFPHelper.jsm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/toolkit/components/resistfingerprinting/RFPHelper.jsm b/toolkit/components/resistfingerprinting/RFPHelper.jsm
index 7dccf684d585..15d90a068bf3 100644
--- a/toolkit/components/resistfingerprinting/RFPHelper.jsm
+++ b/toolkit/components/resistfingerprinting/RFPHelper.jsm
@@ -390,7 +390,9 @@ class _RFPHelper {
       // ... privileged pages
       contentPrincipal.isSystemPrincipal ||
       // ... about: URIs EXCEPT about:blank
-      (currentURI.schemeIs("about") && currentURI.filePath !== "blank")
+      (currentURI.schemeIs("about") && currentURI.filePath !== "blank") ||
+      // ... browser extensions
+      contentPrincipal.addonPolicy
     );
   }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list