[tbb-commits] [Git][tpo/applications/tor-browser][base-browser-115.11.0esr-13.5-1] Bug 42574: Letterboxing, exempt pdf.js.
ma1 (@ma1)
git at gitlab.torproject.org
Thu May 9 08:50:55 UTC 2024
ma1 pushed to branch base-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser
Commits:
98625d72 by hackademix at 2024-05-09T10:50:26+02:00
Bug 42574: Letterboxing, exempt pdf.js.
- - - - -
1 changed file:
- toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
Changes:
=====================================
toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
=====================================
@@ -475,6 +475,8 @@ class _RFPHelper {
return (
// ... privileged pages
contentPrincipal.isSystemPrincipal ||
+ // pdf.js
+ contentPrincipal.origin.startsWith("resource://pdf.js") ||
// ... about: URIs EXCEPT about:blank
(currentURI.schemeIs("about") && currentURI.filePath !== "blank") ||
// ... source code
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/98625d720cc300c866462fd414df7d2797b862fc
--
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/98625d720cc300c866462fd414df7d2797b862fc
You're receiving this email because of your account on gitlab.torproject.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tbb-commits/attachments/20240509/23e02049/attachment-0001.htm>
More information about the tbb-commits
mailing list