Bug 1370439 - Make sure new preferences page tests are running on the new preferences, r=jaws

MozReview-Commit-ID: ECfoP7hzXDF

--HG--
extra : rebase_source : 155e6b04af2e9b7382c3851005cd6077f987a646
This commit is contained in:
Timothy Guan-tin Chien 2017-06-09 12:35:37 +08:00
Родитель fbeff50ee2
Коммит 3a33f2f34f
1 изменённых файлов: 9 добавлений и 0 удалений

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

@ -3,6 +3,15 @@
Components.utils.import("resource://gre/modules/Promise.jsm");
// Tests within /browser/components/preferences/in-content-new/tests/
// test the "new" preferences organization, after it was reorganized.
// Thus, all of these tests should set the "oldOrganization" to false
// before running.
Services.prefs.setBoolPref("browser.preferences.useOldOrganization", false);
registerCleanupFunction(function() {
Services.prefs.clearUserPref("browser.preferences.useOldOrganization");
});
const kDefaultWait = 2000;
function is_hidden(aElement) {