DescriptionSending a vote that a Password form looks like a SignUp form.
Currently for finding SignUp forms no local heuristics are used. This CL adds local heuristics for sending vote on server that a form looks similar to a SignUp form, namely if the form has more than 1 text field with the user input or it has at least 1 text field with the user input, no password and a new password field. That covers SignUp forms on many popular sites, such as gmail, amazon, wikipedia. It could give false positives on change password forms, but it's not a problem, since a decision anyway will be made server-side and there are votes for change password forms. It's considered only fields with the user input, so invisible fields are not a problem here.
BUG=582434
Committed: https://crrev.com/ee61555b653be58d5c6741fa5dab1bec384724a1
Cr-Commit-Position: refs/heads/master@{#385765}
Patch Set 1 #Patch Set 2 : Tiny fix #
Total comments: 13
Patch Set 3 : Fixes #Patch Set 4 : Test added #Patch Set 5 : Rebase #Patch Set 6 : Fix compilation error #
Total comments: 6
Patch Set 7 : Comments addressed #
Total comments: 2
Patch Set 8 : Comment fix #Messages
Total messages: 21 (10 generated)
|