B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Checks whether the script with the specified URL is among the scripts
   * known to the debugger (ignoring the query & reference).
   *
   * @param string aUrl
   *        The script URL.
   * @return boolean
   */
Checks whether the script with the specified URL is among the scripts
known to the debugger (ignoring the query & reference).

@param string aUrl
The script URL.
@return boolean
Checks whether the script with the specified URL is among the scripts known to the debugger ( ignoring the query & reference ) . @param string aUrl The script URL . @return boolean
function DVS_containsIgnoringQuery(aUrl) {
    let sourceScripts = DebuggerController.SourceScripts;
    aUrl = sourceScripts.trimUrlQuery(aUrl);
    if (this._tmpScripts.some(function(element) {
      return sourceScripts.trimUrlQuery(element.script.url) == aUrl;
    })) {
      return true;
    }
    if (this.scriptLocations.some(function(url) {
      return sourceScripts.trimUrlQuery(url) == aUrl;
    })) {
      return true;
    }
    return false;
  }
function DVS_containsIgnoringQuery ( aUrl ) { let sourceScripts = DebuggerController . SourceScripts ; aUrl = sourceScripts . trimUrlQuery ( aUrl ) ; if ( this . _tmpScripts . some ( function ( element ) { return sourceScripts . trimUrlQuery ( element . script . url ) == aUrl ; } ) ) { return true ; } if ( this . scriptLocations . some ( function ( url ) { return sourceScripts . trimUrlQuery ( url ) == aUrl ; } ) ) { return true ; } return false ; }
Checks whether the script with the specified URL is among the scripts
 known to the debugger (ignoring the query & reference).
Checks whether the script with the specified URL is among the scripts known to the debugger ( ignoring the query & reference ) .