Description[Password Manager] Store forms with field name and id attributes missing.
Currently, password form (and change password form) having no name or id
attribute specified for password input field, treated as an invalid password
form. And submission of such password form does not trigger "Save password"
prompt.
CL is split into 2 parts:
[A] Allow us storing the password forms having name or id attributes missing
from the fields [this patch].
[B] Allow us to autofill such password forms.
With this patch we leverage the fact that for non-password forms we do not
create PasswordFormManager instance. That allow us to safely drop the pre
submit check for |PasswordFormManager::HasValidPasswordForm| and save the
password forms that do not have name or id attributes specified for input
fields.
BUG=497630
TEST=PasswordFormConversionUtilsTest
.IdentifyingFieldswithoutNameOrIdAttributes
Committed: https://crrev.com/fdef64500de7e7cdfcc1a77ae7e82ad4a39d264f
Cr-Commit-Position: refs/heads/master@{#350793}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Addressed Vivek's Review Comments. #
Total comments: 4
Patch Set 3 : Just a code rebase. #Patch Set 4 : Addressed Vaclav's Review Comments. #
Total comments: 6
Patch Set 5 : Addresses Vadym's inputs. #Patch Set 6 : Just a code rebase. #Patch Set 7 : Code rebase. #Patch Set 8 : Addresses Vadym's inputs. #Patch Set 9 : Fixed mac bot failure. #Dependent Patchsets: Messages
Total messages: 29 (10 generated)
|