fune/browser/modules/offlineAppCache.jsm
Noemi Erli 6b88e0ee99 Backed out 4 changesets (bug 1415342) for bc failures in browser/components/preferences/in-content/tests/siteData/browser_clearSiteData.js on a CLOSED TREE
Backed out changeset 36ff321fc1b8 (bug 1415342)
Backed out changeset d7e30b8499cd (bug 1415342)
Backed out changeset 4913f1571ece (bug 1415342)
Backed out changeset 25d665693e38 (bug 1415342)

--HG--
rename : toolkit/modules/offlineAppCache.jsm => browser/modules/offlineAppCache.jsm
2018-04-19 10:37:30 +03:00

16 lines
542 B
JavaScript

/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
var EXPORTED_SYMBOLS = ["OfflineAppCacheHelper"];
ChromeUtils.import("resource://gre/modules/Services.jsm");
var OfflineAppCacheHelper = {
clear() {
var appCacheStorage = Services.cache2.appCacheStorage(Services.loadContextInfo.default, null);
try {
appCacheStorage.asyncEvictStorage(null);
} catch (er) {}
}
};