Bug 1460478 - Remove support for AppCache in stable. r?baku draft
authorJonathan Kingston <jkt@mozilla.com>
Thu, 10 May 2018 02:24:02 +0100
changeset 793499 df1697fc7f75cac2130b5cbd84d5287104d06ef4
parent 793056 9294f67b3f3bd4a3dd898961148cecd8bfc1ce9c
push id109402
push userbmo:jkt@mozilla.com
push dateThu, 10 May 2018 07:21:06 +0000
reviewersbaku
bugs1460478
milestone62.0a1
Bug 1460478 - Remove support for AppCache in stable. r?baku MozReview-Commit-ID: D3NDCWKIA5n
dom/tests/mochitest/general/test_interfaces.js
modules/libpref/init/all.js
--- 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