function validateExceptionList(nodes, exceptionList) {
    assertEquals(exceptionList.length, nodes.length);
    for (let index = 0; index < exceptionList.length; ++index) {
      const node = nodes[index];
      const exception = exceptionList[index];
      assertEquals(
          exception.urls.shown,
          node.querySelector('#exception').textContent.trim());
      assertEquals(
          exception.urls.link.toLowerCase(),
          node.querySelector('#exception').href);
    }
  }
/**
   * Helper method that validates a that elements in the exception list match
   * the expected data.
   * @param {!Array<!Element>} nodes The nodes that will be checked.
   * @param {!Array<!chrome.passwordsPrivate.ExceptionEntry>} exceptionList The
   *     expected data.
   * @private
   */
Helper method that validates a that elements in the exception list match
the expected data.
@param {!Array} nodes The nodes that will be checked.
@param {!Array} exceptionList The
expected data.
@private
Helper method that validates a that elements in the exception list match the expected data . @param { !Array } nodes The nodes that will be checked . @param { !Array } exceptionList The expected data . @private
function validateExceptionList(nodes, exceptionList) {
    assertEquals(exceptionList.length, nodes.length);
    for (let index = 0; index < exceptionList.length; ++index) {
      const node = nodes[index];
      const exception = exceptionList[index];
      assertEquals(
          exception.urls.shown,
          node.querySelector('#exception').textContent.trim());
      assertEquals(
          exception.urls.link.toLowerCase(),
          node.querySelector('#exception').href);
    }
  }
function validateExceptionList ( nodes , exceptionList ) { assertEquals ( exceptionList . length , nodes . length ) ; for ( let index = 0 ; index < exceptionList . length ; ++ index ) { const node = nodes [ index ] ; const exception = exceptionList [ index ] ; assertEquals ( exception . urls . shown , node . querySelector ( '#exception' ) . textContent . trim ( ) ) ; assertEquals ( exception . urls . link . toLowerCase ( ) , node . querySelector ( '#exception' ) . href ) ; } }
Helper method that validates a that elements in the exception list match
 the expected data.
Helper method that validates a that elements in the exception list match the expected data .