Bug 1470375 - Set the font editor pref to true in Nightly builds. r=gl
authorRazvan Caliman <rcaliman@mozilla.com>
Wed, 11 Jul 2018 13:36:48 +0200
changeset 818981 33052f9ca1ce0415ce80a22d26ee686c1d90984d
parent 818980 587ae47d1f16f88402bd415318323d6a77efb9fb
child 818982 63a0d1c2d2b91e9d7ec39d3b0be83e90efe82f06
push id116413
push userbgrinstead@mozilla.com
push dateMon, 16 Jul 2018 22:40:17 +0000
reviewersgl
bugs1470375
milestone63.0a1
Bug 1470375 - Set the font editor pref to true in Nightly builds. r=gl MozReview-Commit-ID: 1SKpRcD9VBZ
devtools/client/preferences/devtools-client.js
--- a/devtools/client/preferences/devtools-client.js
+++ b/devtools/client/preferences/devtools-client.js
@@ -60,18 +60,23 @@ pref("devtools.inspector.showAllAnonymou
 // Enable the Flexbox highlighter
 pref("devtools.inspector.flexboxHighlighter.enabled", false);
 // Enable the CSS shapes highlighter
 pref("devtools.inspector.shapesHighlighter.enabled", true);
 // Enable the Flexbox Inspector panel
 pref("devtools.flexboxinspector.enabled", false);
 // Enable the new Animation Inspector
 pref("devtools.new-animationinspector.enabled", true);
-// Enable the Variable Fonts editor
+
+// Enable the Variable Fonts editor only in Nightly
+#if defined(NIGHTLY_BUILD)
+pref("devtools.inspector.fonteditor.enabled", true);
+#else
 pref("devtools.inspector.fonteditor.enabled", false);
+#endif
 // Enable the font highlight-on-hover feature
 pref("devtools.inspector.fonthighlighter.enabled", false);
 
 // Grid highlighter preferences
 pref("devtools.gridinspector.gridOutlineMaxColumns", 50);
 pref("devtools.gridinspector.gridOutlineMaxRows", 50);
 pref("devtools.gridinspector.showGridAreas", false);
 pref("devtools.gridinspector.showGridLineNumbers", false);