B2G/gecko/browser/devtools/layoutview/LayoutView.jsm
/**
   * Destroy the nodes. Remove listeners.
   */
Destroy the nodes. Remove listeners.
Destroy the nodes . Remove listeners .
function LV_destroy() {
    this.inspector.off("select", this.onSelect);
    this.inspector.off("unlocked", this.onUnlock);
    this.browser.removeEventListener("MozAfterPaint", this.update, true);
    this.iframe.removeEventListener("keypress", this.bound_handleKeypress, true);
    this.inspector.chromeWindow.removeEventListener("message", this.onMessage, true);
    this.close();
    this.sizeHeadingLabel = null;
    this.sizeLabel = null;
    this.iframe = null;
    this.view.parentNode.removeChild(this.view);
  }
function LV_destroy ( ) { this . inspector . off ( "select" , this . onSelect ) ; this . inspector . off ( "unlocked" , this . onUnlock ) ; this . browser . removeEventListener ( "MozAfterPaint" , this . update , true ) ; this . iframe . removeEventListener ( "keypress" , this . bound_handleKeypress , true ) ; this . inspector . chromeWindow . removeEventListener ( "message" , this . onMessage , true ) ; this . close ( ) ; this . sizeHeadingLabel = null ; this . sizeLabel = null ; this . iframe = null ; this . view . parentNode . removeChild ( this . view ) ; }
Destroy the nodes.
Destroy the nodes .