[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor-browser] 17/57: Bug 31064: Letterboxing, exempt browser extensions.



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

richard pushed a commit to branch tor-browser-102.5.0esr-12.0-2
in repository tor-browser.

commit 99f8a33f41359a027d5d9268cfe567e5b6d0db25
Author: hackademix <giorgio@xxxxxxxxx>
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 cb50a1a9a470..78cf4ee4b33e 100644
--- a/toolkit/components/resistfingerprinting/RFPHelper.jsm
+++ b/toolkit/components/resistfingerprinting/RFPHelper.jsm
@@ -381,7 +381,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.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits