Bug 1337655 part 2: Turn off moz-prefixed CSS gradient functions for nightly. r=emilio
authorDaniel Holbert <dholbert@cs.stanford.edu>
Thu, 29 Nov 2018 18:27:30 +0000
changeset 505200 54649cf34d98c313a706c333b395b1aff6c3c260
parent 505199 11965d6a2fca3d51187eece61e0e61bafecd6bf8
child 505201 1cce2b80c6452dce775e3fa1c180cc1c7c4e9012
push id10290
push userffxbld-merge
push dateMon, 03 Dec 2018 16:23:23 +0000
treeherdermozilla-beta@700bed2445e6 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersemilio
bugs1337655
milestone65.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 1337655 part 2: Turn off moz-prefixed CSS gradient functions for nightly. r=emilio Differential Revision: https://phabricator.services.mozilla.com/D13298
modules/libpref/init/StaticPrefList.h
--- a/modules/libpref/init/StaticPrefList.h
+++ b/modules/libpref/init/StaticPrefList.h
@@ -709,22 +709,28 @@ VARCACHE_PREF(
 // this pref has no effect if the master 'layout.css.prefixes.webkit' pref is
 // set to false.)
 VARCACHE_PREF(
   "layout.css.prefixes.device-pixel-ratio-webkit",
    layout_css_prefixes_device_pixel_ratio_webkit,
   bool, true
 )
 
-// Is -moz-prefixed gradient functions enabled?
+// Are -moz-prefixed gradient functions enabled?
+#ifdef EARLY_BETA_OR_EARLIER
+# define PREF_VALUE false
+#else
+# define PREF_VALUE true
+#endif
 VARCACHE_PREF(
   "layout.css.prefixes.gradients",
    layout_css_prefixes_gradients,
-  bool, true
+  bool, PREF_VALUE
 )
+#undef PREF_VALUE
 
 // Whether the offset-* logical property aliases are enabled.
 VARCACHE_PREF(
   "layout.css.offset-logical-properties.enabled",
    layout_css_offset_logical_properties_enabled,
   bool, false
 )