[tbb-commits] [Git][tpo/applications/tor-browser][tor-browser-115.11.0esr-13.5-1] Bug 42574: Letterboxing, exempt pdf.js.

ma1 (@ma1) git at gitlab.torproject.org
Thu May 9 08:23:21 UTC 2024



ma1 pushed to branch tor-browser-115.11.0esr-13.5-1 at The Tor Project / Applications / Tor Browser


Commits:
410bb24f by hackademix at 2024-05-08T22:26:45+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/410bb24f88c40ca4283c86c8c002f4d747500605

-- 
This project does not include diff previews in email notifications.
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/410bb24f88c40ca4283c86c8c002f4d747500605
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/923af602/attachment.htm>


More information about the tbb-commits mailing list