Bug 1253476 - Turn on auto-removing behavior by default in Nightly; r=boris
authorBrian Birtles <birtles@gmail.com>
Mon, 20 May 2019 05:22:42 +0000
changeset 474495 26b7854271e17646fc743c6025ebd297b2d2516a
parent 474494 f26b8ea63ae373c27411d27fbf087df5efeebdb5
child 474496 df36c132c6b047cf4b2f81049215157ea7dad11a
push id36040
push userrgurzau@mozilla.com
push dateMon, 20 May 2019 13:43:21 +0000
treeherdermozilla-central@319a369ccde4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersboris
bugs1253476
milestone68.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 1253476 - Turn on auto-removing behavior by default in Nightly; r=boris Differential Revision: https://phabricator.services.mozilla.com/D30328
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -123,21 +123,27 @@ VARCACHE_PREF(
 )
 #undef PREF_VALUE
 
 //---------------------------------------------------------------------------
 // DOM prefs
 //---------------------------------------------------------------------------
 
 // Is support for automatically removing replaced filling animations enabled?
+#ifdef RELEASE_OR_BETA
+# define PREF_VALUE false
+#else
+# define PREF_VALUE true
+#endif
 VARCACHE_PREF(
   "dom.animations-api.autoremove.enabled",
    dom_animations_api_autoremove_enabled,
-  bool, false
+  bool, PREF_VALUE
 )
+#undef PREF_VALUE
 
 // Is support for composite operations from the Web Animations API enabled?
 #ifdef RELEASE_OR_BETA
 # define PREF_VALUE false
 #else
 # define PREF_VALUE true
 #endif
 VARCACHE_PREF(