PasswordManager should trigger autofill for new forms + old PasswordFromManagers
commite9a2b337c293a96144dc6836feda925ee8b25d87
authorvabr <vabr@chromium.org>
Fri, 5 Dec 2014 23:31:36 +0000 (5 15:31 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 5 Dec 2014 23:31:53 +0000 (5 23:31 +0000)
tree43cfc9fe8490af2f2150d766e88bccd0d7ecc218
parent6e81913ef56b25fea87f420874a631972565c94a
PasswordManager should trigger autofill for new forms + old PasswordFromManagers

It can happen that a website presents multiple forms matching the same PasswordFormManager. Currently, PasswordManager only issues an autofill request for the first such form. This CL makes sure that for all such forms the fill info is sent to the renderer.

BUG=435364

Review URL: https://codereview.chromium.org/773823002

Cr-Commit-Position: refs/heads/master@{#307109}
chrome/browser/password_manager/password_manager_browsertest.cc
chrome/test/data/password/dynamic_password_form.html
components/autofill/content/renderer/password_autofill_agent.cc
components/password_manager/core/browser/password_form_manager.cc
components/password_manager/core/browser/password_form_manager.h
components/password_manager/core/browser/password_manager.cc
components/password_manager/core/browser/password_manager_unittest.cc