[tbb-commits] [tor-browser] 18/57: Bug 32411: Letterboxing, exempt view-source: URIs.

gitolite role git at cupani.torproject.org
Mon Dec 5 13:01:54 UTC 2022


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 b602ad18804dba3935610aa3029d6df64635a461
Author: hackademix <giorgio at maone.net>
AuthorDate: Fri Nov 11 22:24:35 2022 +0100

    Bug 32411: Letterboxing, exempt view-source: URIs.
---
 toolkit/components/resistfingerprinting/RFPHelper.jsm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/toolkit/components/resistfingerprinting/RFPHelper.jsm b/toolkit/components/resistfingerprinting/RFPHelper.jsm
index 78cf4ee4b33e..fde005fc6e21 100644
--- a/toolkit/components/resistfingerprinting/RFPHelper.jsm
+++ b/toolkit/components/resistfingerprinting/RFPHelper.jsm
@@ -382,6 +382,8 @@ class _RFPHelper {
       contentPrincipal.isSystemPrincipal ||
       // ... about: URIs EXCEPT about:blank
       (currentURI.schemeIs("about") && currentURI.filePath !== "blank") ||
+      // ... source code
+      currentURI.schemeIs("view-source") ||
       // ... browser extensions
       contentPrincipal.addonPolicy
     );

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


More information about the tbb-commits mailing list