[tbb-commits] [Git][tpo/applications/tor-browser][base-browser-102.10.0esr-12.5-1] fixup! Bug 41695: Warn on window maximization without letterboxing in RFPHelper module

Richard Pospesel (@richard) git at gitlab.torproject.org
Thu Apr 13 19:00:10 UTC 2023



Richard Pospesel pushed to branch base-browser-102.10.0esr-12.5-1 at The Tor Project / Applications / Tor Browser


Commits:
22054938 by hackademix at 2023-04-13T18:58:47+00:00
fixup! Bug 41695: Warn on window maximization without letterboxing in RFPHelper module

- - - - -


2 changed files:

- browser/app/profile/001-base-profile.js
- toolkit/components/resistfingerprinting/RFPHelper.jsm


Changes:

=====================================
browser/app/profile/001-base-profile.js
=====================================
@@ -286,6 +286,8 @@ pref("security.remote_settings.intermediates.enabled", false);
 pref("dom.use_components_shim", false);
 // Enable letterboxing
 pref("privacy.resistFingerprinting.letterboxing", true);
+// tor-browser#41695: how many warnings we show if user closes them without restoring the window size
+pref("privacy.resistFingerprinting.resizeWarnings", 3);
 // Enforce Network Information API as disabled
 pref("dom.netinfo.enabled", false);
 pref("network.http.referer.defaultPolicy", 2); // Bug 32948: Make referer behavior consistent regardless of private browing mode status


=====================================
toolkit/components/resistfingerprinting/RFPHelper.jsm
=====================================
@@ -54,7 +54,7 @@ async function windowResizeHandler(aEvent) {
   if (RFPHelper.letterboxingEnabled) {
     return;
   }
-  if (Services.prefs.getIntPref(kPrefResizeWarnings, 3) <= 0) {
+  if (Services.prefs.getIntPref(kPrefResizeWarnings) <= 0) {
     return;
   }
 



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/22054938a3c6181b20e57d5e462a2359dead63a7

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/22054938a3c6181b20e57d5e462a2359dead63a7
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/20230413/9891fcac/attachment-0001.htm>


More information about the tbb-commits mailing list