Bug 1619073 - Avoid failures in test_sort_orders.js when the separate private default ui is turned off. r=daleharvey

Differential Revision: https://phabricator.services.mozilla.com/D64929

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Mark Banner 2020-03-02 10:53:26 +00:00
Родитель a6385396aa
Коммит 4317e20e02
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -33,6 +33,10 @@ add_task(async function setup() {
SearchUtils.BROWSER_SEARCH_PREF + "separatePrivateDefault",
true
);
Services.prefs.setBoolPref(
SearchUtils.BROWSER_SEARCH_PREF + "separatePrivateDefault.ui.enabled",
true
);
// Even though we don't use the distro bits to begin with, we still have
// to set the pref now, as this gets cached.
Services.prefs.getDefaultBranch("distribution.").setCharPref("id", "test");