B2G/gecko/browser/devtools/scratchpad/scratchpad.js
/**
   * Gets the ID of the inner window of the given DOM window object.
   *
   * @param nsIDOMWindow aWindow
   * @return integer
   *         the inner window ID
   */
Gets the ID of the inner window of the given DOM window object.
@param nsIDOMWindow aWindow
@return integer
the inner window ID
Gets the ID of the inner window of the given DOM window object . @param nsIDOMWindow aWindow @return integer the inner window ID
function SP_getInnerWindowId(aWindow)
  {
    return aWindow.QueryInterface(Ci.nsIInterfaceRequestor).
           getInterface(Ci.nsIDOMWindowUtils).currentInnerWindowID;
  }
function SP_getInnerWindowId ( aWindow ) { return aWindow . QueryInterface ( Ci . nsIInterfaceRequestor ) . getInterface ( Ci . nsIDOMWindowUtils ) . currentInnerWindowID ; }
Gets the ID of the inner window of the given DOM window object.
Gets the ID of the inner window of the given DOM window object .