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

Commits:

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
           javascriptEnabled: lazy.SecurityLevelPrefs.javascriptEnabled,
    
    2803 2803
         };