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

gitolite role git at cupani.torproject.org
Tue Nov 22 09:58:27 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-1
in repository tor-browser.

commit 98c263342c83c1a9d4708651fb6119fe4224f973
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