Backout f5bd25c789b6 "Bug 1245121 - Enable JSON Viewer on RELEASE_BUILD" for Talos regressions.
authorJ. Ryan Stinnett <jryans@gmail.com>
Tue, 16 Feb 2016 09:15:06 -0600
changeset 284492 ef2559c8d20307f8ec8f0aa828c3643ae072a537
parent 284491 cf16002d74e4a8ae9a8c5e7ef2de7e9876c61f3f
child 284493 4f0106747ea904aeef430be56f0063c55977e282
push id71993
push usercbook@mozilla.com
push dateWed, 17 Feb 2016 11:16:29 +0000
treeherdermozilla-inbound@60f020c84b23 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1245121
milestone47.0a1
backs outf5bd25c789b6bab468de449782b4985e39239968
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
Backout f5bd25c789b6 "Bug 1245121 - Enable JSON Viewer on RELEASE_BUILD" for Talos regressions.
devtools/client/preferences/devtools.js
--- a/devtools/client/preferences/devtools.js
+++ b/devtools/client/preferences/devtools.js
@@ -327,19 +327,18 @@ pref("devtools.editor.autocomplete", tru
 // Enable the Font Inspector
 pref("devtools.fontinspector.enabled", true);
 
 // Pref to store the browser version at the time of a telemetry ping for an
 // opened developer tool. This allows us to ping telemetry just once per browser
 // version for each user.
 pref("devtools.telemetry.tools.opened.version", "{}");
 
-// Enable the JSON View tool (an inspector for application/json documents) on
-// Nightly and Dev. Edition.
-#ifdef RELEASE_BUILD
-pref("devtools.jsonview.enabled", false);
+// Enable the JSON View tool (an inspector for application/json documents)
+#ifdef MOZ_DEV_EDITION
+  pref("devtools.jsonview.enabled", true);
 #else
-pref("devtools.jsonview.enabled", true);
+  pref("devtools.jsonview.enabled", false);
 #endif
 
 // Disable the HTML responsive design tool by default.  Currently disabled until
 // ready to replace the legacy XUL version.
 pref("devtools.responsive.html.enabled", false);