Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1370439 - Make sure new preferences page tests are running on the…
Browse files Browse the repository at this point in the history
… new preferences, r=jaws

MozReview-Commit-ID: ECfoP7hzXDF
  • Loading branch information
timdream committed Jun 9, 2017
1 parent 64b3e50 commit 054820e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions browser/components/preferences/in-content-new/tests/head.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 054820e

Please sign in to comment.