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

gitolite role git at cupani.torproject.org
Tue Nov 15 20:52:58 UTC 2022


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

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

commit 321a85ed02dcf6a8a32a48697df3f94c022a1f0f
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 tor-commits mailing list