B2G/gecko/browser/devtools/styleeditor/StyleEditorChrome.jsm
/**
   * Retrieve the ID of the content window attached to this chrome.
   *
   * @return number
   *         Window ID or -1 if no content window is attached.
   */
Retrieve the ID of the content window attached to this chrome.
@return number
Window ID or -1 if no content window is attached.
Retrieve the ID of the content window attached to this chrome . @return number Window ID or - 1 if no content window is attached .
get contentWindowID()
  {
    try {
      return this._contentWindow.QueryInterface(Ci.nsIInterfaceRequestor).
        getInterface(Ci.nsIDOMWindowUtils).currentInnerWindowID;
    } catch (ex) {
      return -1;
    }
  }
get contentWindowID ( ) { try { return this . _contentWindow . QueryInterface ( Ci . nsIInterfaceRequestor ) . getInterface ( Ci . nsIDOMWindowUtils ) . currentInnerWindowID ; } catch ( ex ) { return - 1 ; } }
Retrieve the ID of the content window attached to this chrome.
Retrieve the ID of the content window attached to this chrome .