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

[tor-commits] [Git][tpo/applications/tor-browser][tor-browser-149.0a1-16.0-2] fixup! TB 42891: Set the bundled search engine for Tor Browser.



Title: GitLab

Pier Angelo Vendrame pushed to branch tor-browser-149.0a1-16.0-2 at The Tor Project / Applications / Tor Browser

Commits:

  • 7c57b7a0
    by Pier Angelo Vendrame at 2026-04-02T17:34:01+02:00
    fixup! TB 42891: Set the bundled search engine for Tor Browser.
    
    TB 44648: Drop some unwanted changes in SearchService.
    

1 changed file:

Changes:

  • toolkit/components/search/SearchService.sys.mjs
    ... ... @@ -2794,10 +2794,10 @@ export const SearchService = new (class SearchService {
    2794 2794
       // called in test_remove_engine_notification_box.js
    
    2795 2795
       async _fetchEngineSelectorEngines() {
    
    2796 2796
         let searchEngineSelectorProperties = {
    
    2797
    -      locale: "en-US",
    
    2797
    +      locale: Services.locale.appLocaleAsBCP47,
    
    2798 2798
           region: lazy.Region.home || "unknown",
    
    2799 2799
           channel: lazy.SearchUtils.MODIFIED_APP_CHANNEL,
    
    2800
    -      experiment: this._experimentPrefValue,
    
    2800
    +      experiment: this.#lazyPrefs.experimentPrefValue,
    
    2801 2801
           distroID: lazy.SearchUtils.distroID ?? "",
    
    2802 2802
           _javascript_Enabled: lazy.SecurityLevelPrefs._javascript_Enabled,
    
    2803 2803
         };
    

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