B2G/gecko/browser/devtools/styleinspector/CssLogic.jsm
/**
   * Get a source for a stylesheet, taking into account embedded stylesheets
   * for which we need to use document.defaultView.location.href rather than
   * sheet.href
   *
   * @return {string} the address of the stylesheet.
   */
Get a source for a stylesheet, taking into account embedded stylesheets
for which we need to use document.defaultView.location.href rather than
sheet.href

@return {string} the address of the stylesheet.
Get a source for a stylesheet taking into account embedded stylesheets for which we need to use document . defaultView . location . href rather than sheet . href @return { string } the address of the stylesheet .
get href()
  {
    if (!this._href) {
      this._href = this.domSheet.href;
      if (!this._href) {
        this._href = this.domSheet.ownerNode.ownerDocument.location;
      }
    }
    return this._href;
  }
get href ( ) { if ( ! this . _href ) { this . _href = this . domSheet . href ; if ( ! this . _href ) { this . _href = this . domSheet . ownerNode . ownerDocument . location ; } } return this . _href ; }
Get a source for a stylesheet, taking into account embedded stylesheets
 for which we need to use document.defaultView.location.href rather than
 sheet.href
Get a source for a stylesheet taking into account embedded stylesheets for which we need to use document . defaultView . location . href rather than sheet . href