Bug 1194190 - Enable Storage Inspector by default r=tromey
authorMichael Ratcliffe <mratcliffe@mozilla.com>
Fri, 12 May 2017 15:20:15 +0100
changeset 358480 69cc2c002805ca1f7ad7f3fe377a23ab1c6deb97
parent 358479 819be40d930472ffccdcb4669c1207bcc1942e9c
child 358481 6821d95e317ed339f236d87b77633f0bc3de99d1
push id31827
push usercbook@mozilla.com
push dateTue, 16 May 2017 10:34:19 +0000
treeherdermozilla-central@49365d675cbb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstromey
bugs1194190
milestone55.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 1194190 - Enable Storage Inspector by default r=tromey MozReview-Commit-ID: nPUN4WVT9q
devtools/client/preferences/devtools.js
devtools/client/shared/test/browser_telemetry_toolboxtabs_storage.js
--- a/devtools/client/preferences/devtools.js
+++ b/devtools/client/preferences/devtools.js
@@ -177,17 +177,17 @@ pref("devtools.netmonitor.har.enableAuto
 pref("devtools.scratchpad.recentFilesMax", 10);
 pref("devtools.scratchpad.lineNumbers", true);
 pref("devtools.scratchpad.wrapText", false);
 pref("devtools.scratchpad.showTrailingSpace", false);
 pref("devtools.scratchpad.editorFontSize", 12);
 pref("devtools.scratchpad.enableAutocompletion", true);
 
 // Enable the Storage Inspector
-pref("devtools.storage.enabled", false);
+pref("devtools.storage.enabled", true);
 
 // Enable the Style Editor.
 pref("devtools.styleeditor.enabled", true);
 pref("devtools.styleeditor.source-maps-enabled", true);
 pref("devtools.styleeditor.autocompletion-enabled", true);
 pref("devtools.styleeditor.showMediaSidebar", true);
 pref("devtools.styleeditor.mediaSidebarWidth", 238);
 pref("devtools.styleeditor.navSidebarWidth", 245);
--- a/devtools/client/shared/test/browser_telemetry_toolboxtabs_storage.js
+++ b/devtools/client/shared/test/browser_telemetry_toolboxtabs_storage.js
@@ -6,23 +6,17 @@
 const TEST_URI = "data:text/html;charset=utf-8," +
   "<p>browser_telemetry_toolboxtabs_storage.js</p>";
 
 // Because we need to gather stats for the period of time that a tool has been
 // opened we make use of setTimeout() to create tool active times.
 const TOOL_DELAY = 1000;
 
 add_task(function* () {
-  info("Activating the storage inspector");
-  Services.prefs.setBoolPref("devtools.storage.enabled", true);
-
   yield addTab(TEST_URI);
   let Telemetry = loadTelemetryAndRecordLogs();
 
   yield openAndCloseToolbox(2, TOOL_DELAY, "storage");
   checkTelemetryResults(Telemetry);
 
   stopRecordingTelemetryLogs(Telemetry);
   gBrowser.removeCurrentTab();
-
-  info("De-activating the storage inspector");
-  Services.prefs.clearUserPref("devtools.storage.enabled");
 });