B2G/gecko/browser/devtools/webconsole/HUDService.jsm
/**
 * A WebConsole instance is an interactive console initialized *per tab*
 * that displays console log data as well as provides an interactive terminal to
 * manipulate the current tab's document content.
 *
 * This object only wraps the iframe that holds the Web Console UI.
 *
 * @param nsIDOMElement aTab
 *        The xul:tab for which you want the WebConsole object.
 */
A WebConsole instance is an interactive console initialized *per tab
that displays console log data as well as provides an interactive terminal to
manipulate the current tab's document content.

This object only wraps the iframe that holds the Web Console UI.

@param nsIDOMElement aTab
The xul:tab for which you want the WebConsole object.
A WebConsole instance is an interactive console initialized * per tab that displays console log data as well as provides an interactive terminal to manipulate the current tab ' s document content . This object only wraps the iframe that holds the Web Console UI . @param nsIDOMElement aTab The xul : tab for which you want the WebConsole object .
function WebConsole(aTab)
{
  this.tab = aTab;
  this.chromeDocument = this.tab.ownerDocument;
  this.chromeWindow = this.chromeDocument.defaultView;
  this.hudId = "hud_" + this.tab.linkedPanel;
  this._onIframeLoad = this._onIframeLoad.bind(this);
  this._initUI();
}
function WebConsole ( aTab ) { this . tab = aTab ; this . chromeDocument = this . tab . ownerDocument ; this . chromeWindow = this . chromeDocument . defaultView ; this . hudId = "hud_" + this . tab . linkedPanel ; this . _onIframeLoad = this . _onIframeLoad . bind ( this ) ; this . _initUI ( ) ; }
A WebConsole instance is an interactive console initialized *per tab
 that displays console log data as well as provides an interactive terminal to
 manipulate the current tab's document content.
A WebConsole instance is an interactive console initialized * per tab that displays console log data as well as provides an interactive terminal to manipulate the current tab ' s document content .