Backed out changeset 0658fbb91e05 (bug 1499483) for devtools chrome failure at devtools/client/inspector/test/browser_inspector_sidebarstate.js on a CLOSED TREE
authorDaniel Varga <dvarga@mozilla.com>
Thu, 18 Oct 2018 01:58:17 +0300
changeset 490120 0d9b7b7a5aa5d30412233ffbbabe24dd26df97d0
parent 490045 2e10a4e7039458e8e20c71d9ff03cecb81b33869
child 490121 1ee3bf5fd803b1382548e6c0ae77ae8dcab9dd91
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
bugs1499483
milestone64.0a1
backs out0658fbb91e05b270f67252ec87e918d59d4aaf6d
Backed out changeset 0658fbb91e05 (bug 1499483) for devtools chrome failure at devtools/client/inspector/test/browser_inspector_sidebarstate.js on a CLOSED TREE
devtools/client/inspector/inspector.js
devtools/client/preferences/devtools-client.js
--- a/devtools/client/inspector/inspector.js
+++ b/devtools/client/inspector/inspector.js
@@ -871,17 +871,17 @@ Inspector.prototype = {
       hideTabstripe: true
     });
 
     // defaultTab may also be an empty string or a tab id that doesn't exist anymore
     // (e.g. it was a tab registered by an addon that has been uninstalled).
     let defaultTab = Services.prefs.getCharPref("devtools.inspector.activeSidebar");
 
     if (this.is3PaneModeEnabled && defaultTab === "ruleview") {
-      defaultTab = "layoutview";
+      defaultTab = "computedview";
     }
 
     // Append all side panels
 
     await this.addRuleView({ defaultTab });
 
     // Inject a lazy loaded react tab by exposing a fake React object
     // with a lazy defined Tab thanks to `panel` being a function
--- a/devtools/client/preferences/devtools-client.js
+++ b/devtools/client/preferences/devtools-client.js
@@ -28,17 +28,17 @@ pref("devtools.command-button-screenshot
 pref("devtools.command-button-rulers.enabled", false);
 pref("devtools.command-button-measure.enabled", false);
 pref("devtools.command-button-noautohide.enabled", false);
 
 // Inspector preferences
 // Enable the Inspector
 pref("devtools.inspector.enabled", true);
 // What was the last active sidebar in the inspector
-pref("devtools.inspector.activeSidebar", "layoutview");
+pref("devtools.inspector.activeSidebar", "ruleview");
 pref("devtools.inspector.remote", false);
 
 // Enable the 3 pane mode in the inspector
 pref("devtools.inspector.three-pane-enabled", true);
 // Enable the 3 pane mode in the chrome inspector
 pref("devtools.inspector.chrome.three-pane-enabled", false);
 // Collapse pseudo-elements by default in the rule-view
 pref("devtools.inspector.show_pseudo_elements", false);