Bug 1149381 - Enable the Font Loading API in release builds. r=jdaggett
authorCameron McCormack <cam@mcc.id.au>
Sat, 27 Jun 2015 11:47:31 +1000
changeset 250481 bcfa1f801370c7e62dbad21481de4fa948ee2e1b
parent 250480 cc99bdc697954ee9052d07e43e31f2038275045f
child 250482 31a691e3ac2bad80fe73c97681f683d72a774b1b
push id28956
push usercbook@mozilla.com
push dateMon, 29 Jun 2015 12:17:35 +0000
treeherdermozilla-central@e137fc38c431 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdaggett
bugs1149381
milestone41.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 1149381 - Enable the Font Loading API in release builds. r=jdaggett
modules/libpref/init/all.js
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -2319,21 +2319,17 @@ pref("layout.css.scroll-behavior.spring-
 // When equal to 1.0, the system is critically-damped; it will reach the target
 // at the greatest speed without overshooting.
 pref("layout.css.scroll-behavior.damping-ratio", "1.0");
 
 // Is support for scroll-snap enabled?
 pref("layout.css.scroll-snap.enabled", true);
 
 // Is support for document.fonts enabled?
-#ifdef RELEASE_BUILD
-pref("layout.css.font-loading-api.enabled", false);
-#else
 pref("layout.css.font-loading-api.enabled", true);
-#endif
 
 // Are the MouseEvent.offsetX/Y properties enabled?
 pref("dom.mouseEvent.offsetXY.enabled", true);
 
 // pref for which side vertical scrollbars should be on
 // 0 = end-side in UI direction
 // 1 = end-side in document/content direction
 // 2 = right