From a6028929b9fce7ff5ac9cf30f461fecd36b544e7 Mon Sep 17 00:00:00 2001 From: Victor Porof Date: Tue, 9 Apr 2013 22:05:34 +0300 Subject: [PATCH] Bug 843287 - UI improvements for the variables view and sidebar, r=msucan --- ...ser_webconsole_bug_598357_jsterm_output.js | 2 -- browser/devtools/webconsole/webconsole.js | 10 -------- browser/devtools/webconsole/webconsole.xul | 2 +- browser/themes/linux/devtools/webconsole.css | 24 ++++--------------- browser/themes/osx/devtools/webconsole.css | 24 ++++--------------- .../themes/windows/devtools/webconsole.css | 23 ++++-------------- 6 files changed, 16 insertions(+), 69 deletions(-) diff --git a/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js b/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js index d805d6813e2d..03b6b1825160 100644 --- a/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js +++ b/browser/devtools/webconsole/test/browser_webconsole_bug_598357_jsterm_output.js @@ -236,8 +236,6 @@ function testGen() { ok(showsPropertyPanel, "the property panel shown for inputValues[" + cpos + "]"); - HUD.jsterm._splitter.state = "collapsed"; - popupShown[cpos] = true; if (showsPropertyPanel) { diff --git a/browser/devtools/webconsole/webconsole.js b/browser/devtools/webconsole/webconsole.js index 2d227b402aaf..5155bb38f37f 100644 --- a/browser/devtools/webconsole/webconsole.js +++ b/browser/devtools/webconsole/webconsole.js @@ -2616,13 +2616,6 @@ JSTerm.prototype = { */ sidebar: null, - /** - * The Web Console splitter between output and the sidebar. - * @private - * @type nsIDOMElement - */ - _splitter: null, - /** * The Variables View instance shown in the sidebar. * @private @@ -2707,8 +2700,6 @@ JSTerm.prototype = { this.inputNode.addEventListener("input", this._inputEventHandler, false); this.inputNode.addEventListener("keyup", this._inputEventHandler, false); - this._splitter = doc.querySelector(".devtools-side-splitter"); - this.lastInputValue && this.setInputValue(this.lastInputValue); }, @@ -3025,7 +3016,6 @@ JSTerm.prototype = { this.sidebar = new ToolSidebar(tabbox, this); } this.sidebar.show(); - this._splitter.setAttribute("state", "open"); }, /** diff --git a/browser/devtools/webconsole/webconsole.xul b/browser/devtools/webconsole/webconsole.xul index a9f5c5aea1d6..2f747198bafc 100644 --- a/browser/devtools/webconsole/webconsole.xul +++ b/browser/devtools/webconsole/webconsole.xul @@ -139,7 +139,7 @@ - +