[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[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



Title: GitLab

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:

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
     
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits