B2G/gecko/browser/devtools/webconsole/HUDService.jsm
/**
   * Find the hudId for the active chrome window.
   * @return string|null
   *         The hudId or null if the active chrome window has no open Web
   *         Console.
   */
Find the hudId for the active chrome window.
@return string|null
The hudId or null if the active chrome window has no open Web
Console.
Find the hudId for the active chrome window . @return string|null The hudId or null if the active chrome window has no open Web Console .
function UIC_getOpenHUD() {
    let chromeWindow = HUDService.currentContext();
    let hudId = "hud_" + chromeWindow.gBrowser.selectedTab.linkedPanel;
    return hudId in HUDService.hudReferences ? hudId : null;
  }
function UIC_getOpenHUD ( ) { let chromeWindow = HUDService . currentContext ( ) ; let hudId = "hud_" + chromeWindow . gBrowser . selectedTab . linkedPanel ; return hudId in HUDService . hudReferences ? hudId : null ; }
Find the hudId for the active chrome window.
Find the hudId for the active chrome window .