Bug 1470111 - Enable Clear-Site-Data header by default, r=ckerschb
authorAndrea Marchesini <amarchesini@mozilla.com>
Mon, 23 Jul 2018 14:04:24 +0200
changeset 427757 62fd708ed9d936568e54d21b890dfd9e19703cd0
parent 427756 367993fd2ba392af87794c8867fdfa4f9e4c3887
child 427758 f7bd4f224f9aade0428b7a254248a77f89562055
push id105531
push useramarchesini@mozilla.com
push dateMon, 23 Jul 2018 12:04:54 +0000
treeherdermozilla-inbound@62fd708ed9d9 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersckerschb
bugs1470111
milestone63.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1470111 - Enable Clear-Site-Data header by default, r=ckerschb
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -181,27 +181,21 @@ VARCACHE_PREF(
    dom_payments_response_timeout,
   uint32_t, 5000
 )
 
 //---------------------------------------------------------------------------
 // Clear-Site-Data prefs
 //---------------------------------------------------------------------------
 
-#ifdef NIGHTLY_BUILD
-# define PREF_VALUE true
-#else
-# define PREF_VALUE false
-#endif
 VARCACHE_PREF(
   "dom.clearSiteData.enabled",
    dom_clearSiteData_enabled,
-  bool, PREF_VALUE
+  bool, true
 )
-#undef PREF_VALUE
 
 //---------------------------------------------------------------------------
 // Full-screen prefs
 //---------------------------------------------------------------------------
 
 #ifdef RELEASE_OR_BETA
 # define PREF_VALUE false
 #else