зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
fbeff50ee2
Коммит
3a33f2f34f
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче