From 78f9c0c3396a565afc515e50f81a72403c8083d5 Mon Sep 17 00:00:00 2001 From: Jonathan Kingston Date: Thu, 10 May 2018 02:24:02 +0100 Subject: [PATCH] Bug 1460478 - Remove support for AppCache in stable. r=baku MozReview-Commit-ID: D3NDCWKIA5n --HG-- extra : rebase_source : 79a60c1d334b3c701225787d47fe76d0d8b92419 --- dom/tests/mochitest/general/test_interfaces.js | 2 +- modules/libpref/init/all.js | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/dom/tests/mochitest/general/test_interfaces.js b/dom/tests/mochitest/general/test_interfaces.js index 5742ac5cbbef..e7a2286c010c 100644 --- a/dom/tests/mochitest/general/test_interfaces.js +++ b/dom/tests/mochitest/general/test_interfaces.js @@ -735,7 +735,7 @@ var interfaceNamesInGlobalScope = // 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! diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js index dbb5076fa1f4..cb41386e289e 100644 --- a/modules/libpref/init/all.js +++ b/modules/libpref/init/all.js @@ -82,13 +82,8 @@ 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);