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

gitolite role git at cupani.torproject.org
Thu Nov 17 15:55:01 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 2a0fbf16f998e8521336bbc6a262e8c7b645087d
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 15d90a068bf3..7bd645c308d4 100644
--- a/toolkit/components/resistfingerprinting/RFPHelper.jsm
+++ b/toolkit/components/resistfingerprinting/RFPHelper.jsm
@@ -391,6 +391,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