Chromium Code Reviews
DescriptionAdd password form search using blink::WebNode reference comparison.
After an XHR is completed, PasswordAutofillAgent tries to check if the
form is still visible (i.e. if the user has successfuly logged in or
still sees the form) by searching the form with the same action URL.
This works until the form has action URL. If it doesn't, the search is
performed using field matching. This will fail if the form is modified
by the website right before the XHR has completed.
This CL adds support for the form search using blink::WebFormElement
and blink::WebInputElement (for unowned forms) reference comparison.
BUG=700862
R=dvadym@chromium.org
Review-Url: https://codereview.chromium.org/2746033004
Cr-Commit-Position: refs/heads/master@{#458032}
Committed: https://chromium.googlesource.com/chromium/src/+/531d81feacb5306300387558824ee4ce11e98b89
Patch Set 1 #
Total comments: 12
Patch Set 2 : Optimize reference checking, fix comments. #Patch Set 3 : Rename ProvisionallySavedForm to ProvisionallySavedPasswordForm. #Messages
Total messages: 30 (18 generated)
|