B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Removes the displayed panes and saves any necessary state.
   */
Removes the displayed panes and saves any necessary state.
Removes the displayed panes and saves any necessary state .
function DV_destroyPanes() {
    this._togglePanesButton.removeEventListener("click", this._onTogglePanesButtonPressed);
    Prefs.stackframesWidth = this._stackframesAndBreakpoints.getAttribute("width");
    Prefs.variablesWidth = this._variables.getAttribute("width");
    this._breakpoints.parentNode.removeChild(this._breakpoints);
    this._stackframes.parentNode.removeChild(this._stackframes);
    this._stackframesAndBreakpoints.parentNode.removeChild(this._stackframesAndBreakpoints);
    this._variables.parentNode.removeChild(this._variables);
    this._globalSearch.parentNode.removeChild(this._globalSearch);
    for (let i in this) {
      if (!(this[i] instanceof Function)) delete this[i];
    }
  }
function DV_destroyPanes ( ) { this . _togglePanesButton . removeEventListener ( "click" , this . _onTogglePanesButtonPressed ) ; Prefs . stackframesWidth = this . _stackframesAndBreakpoints . getAttribute ( "width" ) ; Prefs . variablesWidth = this . _variables . getAttribute ( "width" ) ; this . _breakpoints . parentNode . removeChild ( this . _breakpoints ) ; this . _stackframes . parentNode . removeChild ( this . _stackframes ) ; this . _stackframesAndBreakpoints . parentNode . removeChild ( this . _stackframesAndBreakpoints ) ; this . _variables . parentNode . removeChild ( this . _variables ) ; this . _globalSearch . parentNode . removeChild ( this . _globalSearch ) ; for ( let i in this ) { if ( ! ( this [ i ] instanceof Function ) ) delete this [ i ] ; } }
Removes the displayed panes and saves any necessary state.
Removes the displayed panes and saves any necessary state .
// Delete all the cached global view elements.