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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-153.4.0esr-16.0-1] fixup! BB 42084: Ensure English spoofing works even if preferences are set out of order.



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-153.4.0esr-16.0-1 at The Tor Project / Applications / Tor Browser

Commits:

  • bbed2602
    by Pier Angelo Vendrame at 2026-10-01T12:26:27+02:00
    fixup! BB 42084: Ensure English spoofing works even if preferences are set out of order.
    
    BB 44341: Unregister the intl.accept_languages observer.
    

1 changed file:

Changes:

  • toolkit/components/resistfingerprinting/RFPHelper.sys.mjs
    ... ... @@ -200,6 +200,8 @@ class _RFPHelper {
    200 200
         Services.prefs.removeObserver(kPrefVerticalTabs, this);
    
    201 201
         // Remove the RFP observers, swallowing exceptions if they weren't present
    
    202 202
         this._removeLanguagePrefObservers();
    
    203
    +    // Added in _handleSpoofEnglishChanged.
    
    204
    +    Services.prefs.removeObserver("intl.accept_languages", this);
    
    203 205
       }
    
    204 206
     
    
    205 207
       observe(subject, topic, data) {
    

  • _______________________________________________
    tor-commits mailing list -- tor-commits@xxxxxxxxxxxxxxxxxxxx
    To unsubscribe send an email to tor-commits-leave@xxxxxxxxxxxxxxxxxxxx