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
1 changed file:
Changes:
| ... | ... | @@ -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 | };
|