B2G/gecko/browser/devtools/debugger/debugger-view.js
/**
   * Checks whether the script with the specified label is among the scripts
   * known to the debugger and shown in the list.
   *
   * @param string aLabel
   *        The script label.
   * @return boolean
   */
Checks whether the script with the specified label is among the scripts
known to the debugger and shown in the list.

@param string aLabel
The script label.
@return boolean
Checks whether the script with the specified label is among the scripts known to the debugger and shown in the list . @param string aLabel The script label . @return boolean
function DVS_containsLabel(aLabel) {
    if (this._tmpScripts.some(function(element) {
      return element.label == aLabel;
    })) {
      return true;
    }
    if (this._scripts.getElementsByAttribute("label", aLabel).length > 0) {
      return true;
    }
    return false;
  }
function DVS_containsLabel ( aLabel ) { if ( this . _tmpScripts . some ( function ( element ) { return element . label == aLabel ; } ) ) { return true ; } if ( this . _scripts . getElementsByAttribute ( "label" , aLabel ) . length > 0 ) { return true ; } return false ; }
Checks whether the script with the specified label is among the scripts
 known to the debugger and shown in the list.
Checks whether the script with the specified label is among the scripts known to the debugger and shown in the list .