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

Commits:

2 changed files:

Changes:

  • browser/app/profile/001-base-profile.js
    ... ... @@ -286,6 +286,8 @@ pref("security.remote_settings.intermediates.enabled", false);
    286 286
     pref("dom.use_components_shim", false);
    
    287 287
     // Enable letterboxing
    
    288 288
     pref("privacy.resistFingerprinting.letterboxing", true);
    
    289
    +// tor-browser#41695: how many warnings we show if user closes them without restoring the window size
    
    290
    +pref("privacy.resistFingerprinting.resizeWarnings", 3);
    
    289 291
     // Enforce Network Information API as disabled
    
    290 292
     pref("dom.netinfo.enabled", false);
    
    291 293
     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) {
    54 54
       if (RFPHelper.letterboxingEnabled) {
    
    55 55
         return;
    
    56 56
       }
    
    57
    -  if (Services.prefs.getIntPref(kPrefResizeWarnings, 3) <= 0) {
    
    57
    +  if (Services.prefs.getIntPref(kPrefResizeWarnings) <= 0) {
    
    58 58
         return;
    
    59 59
       }
    
    60 60