[tor-commits] [Git][tpo/applications/tor-browser][tor-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 18:57:24 UTC 2023
Richard Pospesel pushed to branch tor-browser-102.10.0esr-12.5-1 at The Tor Project / Applications / Tor Browser
Commits:
9d585beb by hackademix at 2023-04-13T18:55:46+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/9d585beba7ab023d3eeace0567a1361c1df4fce7
--
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/9d585beba7ab023d3eeace0567a1361c1df4fce7
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/tor-commits/attachments/20230413/b583e72a/attachment-0001.htm>
More information about the tor-commits
mailing list