Commit dacf2bdc authored by brizental's avatar brizental
Browse files

fixup! BB 41918: Option to reuse last window size when letterboxing is enabled.

parent ba26fcb0
Loading
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -411,6 +411,8 @@ pref("privacy.resistFingerprinting.randomDataOnCanvasExtract", true, locked);
pref("privacy.resistFingerprinting", true);
pref("privacy.resistFingerprinting.exemptedDomains", "");
#endif
// tor-browser#43904: Enable this so we skip the blank window if user is resisting fingerprinting.
pref("privacy.resistFingerprinting.skipEarlyBlankFirstPaint", true);
// tor-browser#18603: failIfMajorPerformanceCaveat is an optional attribute that
// can be used when creating a WebGL context if the browser detects that the
// performance would be low. That could be used to fingerpting users with a not
+0 −5
Original line number Diff line number Diff line
@@ -872,11 +872,6 @@ BrowserGlue.prototype = {
        return false;
      }

      // We don't want to mess up with RFP new window / letterboxing machinery.
      if (Services.prefs.getBoolPref("privacy.resistFingerprinting", false)) {
        return false;
      }

      let width = getValue("width");
      let height = getValue("height");