function createPasswordsSection(
      passwordManager, passwordList, exceptionList) {
    // Override the PasswordManagerProxy data for testing.
    passwordManager.data.passwords = passwordList;
    passwordManager.data.exceptions = exceptionList;

    // Create a passwords-section to use for testing.
    const passwordsSection = document.createElement('passwords-section');
    document.body.appendChild(passwordsSection);
    Polymer.dom.flush();
    return passwordsSection;
  }
/**
   * Helper method used to create a password section for the given lists.
   * @param {!PasswordManagerProxy} passwordManager
   * @param {!Array<!chrome.passwordsPrivate.PasswordUiEntry>} passwordList
   * @param {!Array<!chrome.passwordsPrivate.ExceptionEntry>} exceptionList
   * @return {!Object}
   * @private
   */
Helper method used to create a password section for the given lists.
Helper method used to create a password section for the given lists .
function createPasswordsSection(
      passwordManager, passwordList, exceptionList) {
    passwordManager.data.passwords = passwordList;
    passwordManager.data.exceptions = exceptionList;
    const passwordsSection = document.createElement('passwords-section');
    document.body.appendChild(passwordsSection);
    Polymer.dom.flush();
    return passwordsSection;
  }
function createPasswordsSection ( passwordManager , passwordList , exceptionList ) { passwordManager . data . passwords = passwordList ; passwordManager . data . exceptions = exceptionList ; const passwordsSection = document . createElement ( 'passwords-section' ) ; document . body . appendChild ( passwordsSection ) ; Polymer . dom . flush ( ) ; return passwordsSection ; }
Helper method used to create a password section for the given lists.
Helper method used to create a password section for the given lists .
// Override the PasswordManagerProxy data for testing. // Create a passwords-section to use for testing.