Skip to content
Snippets Groups Projects
Commit 9d585beb authored by ma1's avatar ma1 Committed by Richard Pospesel
Browse files

fixup! Bug 41695: Warn on window maximization without letterboxing in RFPHelper module

parent 5c63c357
1 merge request!618Bug 41722: fix resize notification cannot be closed by [x] button
......@@ -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
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment