Bug 1470375 - Set the font editor pref to true in Nightly builds. r=gl draft
authorRazvan Caliman <rcaliman@mozilla.com>
Wed, 11 Jul 2018 13:36:48 +0200
changeset 816867 ca1d9cd2db75de023c86d85aff1eeaa2eb89c92a
parent 816856 aff060ad3204234adae2d59b3776207c6687ebfc
push id115857
push userbmo:rcaliman@mozilla.com
push dateWed, 11 Jul 2018 11:38:31 +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);