Bug 1460478 - Remove support for AppCache in stable. r?baku
MozReview-Commit-ID: D3NDCWKIA5n
--- a/dom/tests/mochitest/general/test_interfaces.js
+++ b/dom/tests/mochitest/general/test_interfaces.js
@@ -730,17 +730,17 @@ var interfaceNamesInGlobalScope =
{name: "Notification", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "OffscreenCanvas", insecureContext: true, disabled: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "OfflineAudioCompletionEvent", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "OfflineAudioContext", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
- {name: "OfflineResourceList", insecureContext: !isEarlyBetaOrEarlier},
+ {name: "OfflineResourceList", insecureContext: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "Option", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "OscillatorNode", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "PageTransitionEvent", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "PaintRequest", insecureContext: true},
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -77,23 +77,18 @@ pref("browser.cache.frecency_half_life_h
// Number of seconds the cache spends writting pending data and closing files
// after the shutdown has been signalled. Past that time data are never written
// and files are left open given up to the OS to do the cleanup.
pref("browser.cache.max_shutdown_io_lag", 2);
pref("browser.cache.offline.enable", true);
-// Nightly and Early Beta will have AppCache disabled by default
-// Stable will remain enabled until Firefox 62.
-#ifdef EARLY_BETA_OR_EARLIER
+// AppCache over insecure connection is disabled by default
pref("browser.cache.offline.insecure.enable", false);
-#else
-pref("browser.cache.offline.insecure.enable", true);
-#endif
// enable offline apps by default, disable prompt
pref("offline-apps.allow_by_default", true);
// offline cache capacity in kilobytes
pref("browser.cache.offline.capacity", 512000);
// the user should be warned if offline app disk usage exceeds this amount