author | Nicolas Chevobbe <nch@atolcd.com> |
Thu, 26 May 2016 10:17:11 -0700 | |
changeset 299114 | 7b2fc29e5d9db05f171dea679a3e5d50f8a9e2d6 |
parent 299113 | d495fe0a0cb21d80da64bd3d2c3e8b44e582ecb3 |
child 299115 | 6a6155e3afa6148ef93255e6d9e126c2974f0319 |
push id | 30290 |
push user | ryanvm@gmail.com |
push date | Fri, 27 May 2016 01:44:20 +0000 |
treeherder | mozilla-central@34ac60e5b29c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bgrins |
bugs | 1272460 |
milestone | 49.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
|
--- a/devtools/client/webconsole/webconsole.js +++ b/devtools/client/webconsole/webconsole.js @@ -632,17 +632,22 @@ WebConsoleFrame.prototype = { }, /** * Resizes the output node to fit the output wrapped. * We need this because it makes the layout a lot faster than * using -moz-box-flex and 100% width. See Bug 1237368. */ resize: function () { - this.outputNode.style.width = this.outputWrapper.clientWidth + "px"; + if (this.NEW_CONSOLE_OUTPUT_ENABLED) { + this.experimentalOutputNode.style.width = + this.outputWrapper.clientWidth + "px"; + } else { + this.outputNode.style.width = this.outputWrapper.clientWidth + "px"; + } }, /** * Sets the focus to JavaScript input field when the web console tab is * selected or when there is a split console present. * @private */ _onPanelSelected: function () {