diff --git a/toolkit/components/search/SearchEngineSelector.jsm b/toolkit/components/search/SearchEngineSelector.jsm index b1578a17a560..9f6147718200 100644 --- a/toolkit/components/search/SearchEngineSelector.jsm +++ b/toolkit/components/search/SearchEngineSelector.jsm @@ -140,7 +140,7 @@ class SearchEngineSelector { let result = []; let failed = false; try { - result = await this._remoteConfig.get(); + result = await this._remoteConfig.get({ order: "id" }); } catch (ex) { logConsole.error(ex); failed = true; diff --git a/toolkit/components/search/tests/xpcshell/searchconfigs/test_distributions.js b/toolkit/components/search/tests/xpcshell/searchconfigs/test_distributions.js index b6527aa41515..b93864b3b119 100644 --- a/toolkit/components/search/tests/xpcshell/searchconfigs/test_distributions.js +++ b/toolkit/components/search/tests/xpcshell/searchconfigs/test_distributions.js @@ -514,6 +514,13 @@ for (const locale of ["en-US", "de"]) { }); } +tests.push({ + locale: "ru", + region: "RU", + distribution: "gmx", + test: engines => hasDefault(engines, "GMX Suche"), +}); + tests.push({ locale: "en-GB", distribution: "gmxcouk", @@ -528,6 +535,13 @@ tests.push({ hasEnginesFirst(engines, ["GMX Search"]), }); +tests.push({ + locale: "ru", + region: "RU", + distribution: "gmxcouk", + test: engines => hasDefault(engines, "GMX Search"), +}); + tests.push({ locale: "es", distribution: "gmxes", @@ -542,6 +556,13 @@ tests.push({ hasEnginesFirst(engines, ["GMX Search"]), }); +tests.push({ + locale: "ru", + region: "RU", + distribution: "gmxes", + test: engines => hasDefault(engines, "GMX - Búsqueda web"), +}); + tests.push({ locale: "fr", distribution: "gmxfr", @@ -556,6 +577,13 @@ tests.push({ hasEnginesFirst(engines, ["GMX Search"]), }); +tests.push({ + locale: "ru", + region: "RU", + distribution: "gmxfr", + test: engines => hasDefault(engines, "GMX - Recherche web"), +}); + tests.push({ locale: "ru", distribution: "yandex-drp",