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@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 );