[tbb-commits] [Git][tpo/applications/tor-browser][tor-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:08:01 UTC 2024



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


Commits:
03dbfffc by hackademix at 2024-03-06T22:06:28+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/03dbfffc3cdaa9584c49fe61dbfe887d2bcfdb41

-- 
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/03dbfffc3cdaa9584c49fe61dbfe887d2bcfdb41
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/tbb-commits/attachments/20240306/d773ed97/attachment-0001.htm>


More information about the tbb-commits mailing list