[Password Generation] Require full form match to allow generation
commit7a4fa8b14caa96d30b4966f5bc9c132f9fcabfd5
authorgcasto <gcasto@chromium.org>
Fri, 9 Jan 2015 17:23:36 +0000 (9 09:23 -0800)
committerCommit bot <commit-bot@chromium.org>
Fri, 9 Jan 2015 17:24:23 +0000 (9 17:24 +0000)
tree9fc490c562453b30c9ec53e9e82bbd36137fce83
parent69c51b0258bac059f652b271ac5b86daca8e05c2
[Password Generation] Require full form match to allow generation

Previously as long as the origin of the form recieved from Autofill matched
the form detected by heuristics (i.e. the page hadn't navigated before parsing
the server response), the first form on the page that matched local heuristics
was assumed to be the account creation form.

BUG=447484

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

Cr-Commit-Position: refs/heads/master@{#310788}
chrome/renderer/autofill/password_generation_agent_browsertest.cc
components/autofill/content/renderer/password_generation_agent.cc