diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index c9c7c5d1ab30..c878dd726658 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1035,7 +1035,6 @@ pref("devtools.debugger.remote-connection-retries", 3); pref("devtools.debugger.remote-timeout", 20000); // The default Debugger UI settings -pref("devtools.debugger.ui.height", 250); pref("devtools.debugger.ui.win-x", 0); pref("devtools.debugger.ui.win-y", 0); pref("devtools.debugger.ui.win-width", 900); diff --git a/browser/devtools/debugger/DebuggerUI.jsm b/browser/devtools/debugger/DebuggerUI.jsm index 6e76b7fb5223..da4e6335ff9f 100644 --- a/browser/devtools/debugger/DebuggerUI.jsm +++ b/browser/devtools/debugger/DebuggerUI.jsm @@ -173,12 +173,6 @@ DebuggerUI.prototype = { return '_chromeDebugger' in this ? this._chromeDebugger : null; }, - /** - * Get the preferences associated with the debugger frontend. - * @return object - */ - get preferences() Prefs, - /** * Currently, there can only be one debugger per tab. * Show an asynchronous notification which asks the user to switch the @@ -279,7 +273,6 @@ DebuggerPane.prototype = { this._splitter.setAttribute("class", "devtools-horizontal-splitter"); this._frame = ownerDocument.createElement("iframe"); - this._frame.height = Prefs.height; this._nbox = gBrowser.getNotificationBox(this._tab.linkedBrowser); this._nbox.appendChild(this._splitter); @@ -326,7 +319,6 @@ DebuggerPane.prototype = { }, true) } - Prefs.height = this._frame.height; this._frame.removeEventListener("Debugger:Unloaded", this.close, true); this._nbox.removeChild(this._splitter); this._nbox.removeChild(this._frame); @@ -599,21 +591,7 @@ XPCOMUtils.defineLazyGetter(L10N, "stringBundle", function() { /** * Shortcuts for accessing various debugger preferences. */ -let Prefs = { - /** - * Gets the preferred height of the debugger pane. - * @return number - */ - get height() - Services.prefs.getIntPref("devtools.debugger.ui.height"), - - /** - * Sets the preferred height of the debugger pane. - * @param number aValue - */ - set height(aValue) - Services.prefs.setIntPref("devtools.debugger.ui.height", aValue) -}; +let Prefs = {}; /** * Gets the preferred default remote debugging host. diff --git a/browser/devtools/debugger/debugger-controller.js b/browser/devtools/debugger/debugger-controller.js index 331414d3baa6..5f8f94d30771 100644 --- a/browser/devtools/debugger/debugger-controller.js +++ b/browser/devtools/debugger/debugger-controller.js @@ -1609,7 +1609,6 @@ let Prefs = { } }; -Prefs.map("Int", "height", "devtools.debugger.ui.height"); Prefs.map("Int", "windowX", "devtools.debugger.ui.win-x"); Prefs.map("Int", "windowY", "devtools.debugger.ui.win-y"); Prefs.map("Int", "windowWidth", "devtools.debugger.ui.win-width");