DescriptionIn some cases we encounter situation when in processing onSubmit of password form we didn't receive information from password store yet. For example this can happen when JavaScript creates password form after submission and submit it (as for nytimes.com).
To process such situation this CL postpones checking if password form fetched from store until moment when we are going to decide if we should save it.
In order to process this correctly creating pending credentials in PasswordManager was moved to separate method and it is called only when both events happen - form submission and fetching from store finished.
Tests are not added yet
BUG=470322
Committed: https://crrev.com/f46ff48284131eba449796a932ec32290b03a403
Cr-Commit-Position: refs/heads/master@{#324400}
Patch Set 1 #Patch Set 2 : Postponing creating pending credentials #Patch Set 3 : Small fixes #Patch Set 4 : Rebase #Patch Set 5 : Small fix #
Total comments: 13
Patch Set 6 : Addressed reviewer comments #Patch Set 7 : Added test and fix #
Total comments: 2
Patch Set 8 : Rebase #Patch Set 9 : Comments fix #
Total comments: 2
Messages
Total messages: 17 (3 generated)
|