function listContainsUrl(passwordList, url) {
    for (let i = 0; i < passwordList.length; ++i) {
      if (passwordList[i].loginPair.urls.origin == url)
        return true;
    }
    return false;
  }
/**
   * Helper method used to test for a url in a list of passwords.
   * @param {!Array<!chrome.passwordsPrivate.PasswordUiEntry>} passwordList
   * @param {string} url The URL that is being searched for.
   */
Helper method used to test for a url in a list of passwords.
@param {!Array} passwordList
@param {string} url The URL that is being searched for.
Helper method used to test for a url in a list of passwords . @param { !Array } passwordList @param { string } url The URL that is being searched for .
function listContainsUrl(passwordList, url) {
    for (let i = 0; i < passwordList.length; ++i) {
      if (passwordList[i].loginPair.urls.origin == url)
        return true;
    }
    return false;
  }
function listContainsUrl ( passwordList , url ) { for ( let i = 0 ; i < passwordList . length ; ++ i ) { if ( passwordList [ i ] . loginPair . urls . origin == url ) return true ; } return false ; }
Helper method used to test for a url in a list of passwords.
Helper method used to test for a url in a list of passwords .