B2G/gecko/browser/devtools/debugger/debugger-controller.js
/**
   * Gets a unique, simplified label from a script url.
   *
   * @param string aUrl
   *        The script url.
   * @param string aHref
   *        The content location href to be used. If unspecified, it will
   *        default to the script url prepath.
   * @return string
   *         The simplified label.
   */
Gets a unique, simplified label from a script url.
@param string aUrl
The script url.
@param string aHref
The content location href to be used. If unspecified, it will
default to the script url prepath.
@return string
The simplified label.
Gets a unique simplified label from a script url . @param string aUrl The script url . @param string aHref The content location href to be used . If unspecified it will default to the script url prepath . @return string The simplified label .
function SS_getScriptLabel(aUrl, aHref) {
    if (!this._labelsCache[aUrl]) {
      this._labelsCache[aUrl] = this.trimUrlLength(this._trimUrl(aUrl));
    }
    return this._labelsCache[aUrl];
  }
function SS_getScriptLabel ( aUrl , aHref ) { if ( ! this . _labelsCache [ aUrl ] ) { this . _labelsCache [ aUrl ] = this . trimUrlLength ( this . _trimUrl ( aUrl ) ) ; } return this . _labelsCache [ aUrl ] ; }
Gets a unique, simplified label from a script url.
Gets a unique simplified label from a script url .