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

Commit

Permalink
Bug 1370781 - Run offlineQuotaNotification test on new preferences r=…
Browse files Browse the repository at this point in the history
…jaws

MozReview-Commit-ID: G3y0xDj1egB
  • Loading branch information
Ricky Chien committed Jun 9, 2017
1 parent 61c52ab commit 64b3e50
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ registerCleanupFunction(function() {
Services.perms.removeFromPrincipal(principal, "offline-app");
Services.prefs.clearUserPref("offline-apps.quota.warn");
Services.prefs.clearUserPref("offline-apps.allow_by_default");
Services.prefs.clearUserPref("browser.preferences.useOldOrganization");
let {OfflineAppCacheHelper} = Components.utils.import("resource:///modules/offlineAppCache.jsm", {});
OfflineAppCacheHelper.clear();
});
Expand All @@ -33,6 +34,7 @@ function checkInContentPreferences(win) {
function test() {
waitForExplicitFinish();

Services.prefs.setBoolPref("browser.preferences.useOldOrganization", false);
Services.prefs.setBoolPref("offline-apps.allow_by_default", false);

// Open a new tab.
Expand Down

0 comments on commit 64b3e50

Please sign in to comment.