DescriptionPasswordManager: Add rendered forms to pending_login_managers_
|pending_login_managers_| is the list of all password form managers for forms on the current page. It is important when we detect a password to save -- it can only be saved if it correspondes to a pending login manager, which means to a form on the page the user is navigating from.
The list is currently updated on 2 occasions:
1) when the forms on the current page are parsed, and
2) when JavaScript adds a new form.
The exception to 2) is when the main frame loads -- we don't add forms added during that time, because they might be just confusing fragments.
It has been observed though, that there are still dynamically created forms which are not just fragments, but which fall prey to the above exception.
Those forms have been observed during the phase forms are actually rendered. So this CL adds a new place to update |pending_login_managers_|:
3) when the forms on the current page are rendered.
BUG=367768
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278704
Patch Set 1 : #
Total comments: 4
Patch Set 2 : Comments addressed #
Messages
Total messages: 7 (0 generated)
|