[tor-commits] [Git][tpo/applications/tor-browser][base-browser-115.8.0esr-13.5-1] fixup! Bug 41918: Option to reuse last window size when letterboxing is enabled.

ma1 (@ma1) git at gitlab.torproject.org
Wed Mar 6 21:11:20 UTC 2024



ma1 pushed to branch base-browser-115.8.0esr-13.5-1 at The Tor Project / Applications / Tor Browser


Commits:
1564281f by hackademix at 2024-03-06T22:10:59+01:00
fixup! Bug 41918: Option to reuse last window size when letterboxing is enabled.

Fixes typo in RFHelper.sys.mjs (Service -> Services).

- - - - -


1 changed file:

- toolkit/components/resistfingerprinting/RFPHelper.sys.mjs


Changes:

=====================================
toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
=====================================
@@ -223,7 +223,7 @@ class _RFPHelper {
   _handlePrefChanged(data) {
     switch (data) {
       case kPrefResistFingerprinting:
-        Service.prefs.clearUserPref(kPrefLetterboxingDidForceSize);
+        Services.prefs.clearUserPref(kPrefLetterboxingDidForceSize);
         this._handleResistFingerprintingChanged();
         break;
       case kPrefSpoofEnglish:
@@ -231,7 +231,7 @@ class _RFPHelper {
         this._handleSpoofEnglishChanged();
         break;
       case kPrefLetterboxing:
-        Service.prefs.clearUserPref(kPrefLetterboxingDidForceSize);
+        Services.prefs.clearUserPref(kPrefLetterboxingDidForceSize);
       case kPrefLetterboxingVcenter:
       case kPrefLetterboxingGradient:
         this._handleLetterboxingPrefChanged();



View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1564281fd5a03cfe772074be9b41c2927513d189

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/1564281fd5a03cfe772074be9b41c2927513d189
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/20240306/5c06873e/attachment-0001.htm>


More information about the tor-commits mailing list