DescriptioniOS full-form Autofill: Handle partially filled forms correctly.
Previous to this change, all fields would be overwritten regardless of
their contents and whether or not they had already been autofilled. With
this change the suggestion and overwrite behavior is the same as on
desktop and Android.
1. If any form fields are already autofilled (i.e. have yellow
background) then suggestions are only given for the currently active
field, and only the currently active field is modified when a suggestion
is chosen. This is achieved by setting |isAutofilled| in
autofill_controller.js. The common Autofill code shared with desktop
takes care of it from there.
2. If a field is non-empty do not autofill it, unless it is the
currently active field.
Downstream part is here: https://chromereviews.googleplex.com/222487013
BUG=504644
Committed: https://crrev.com/2c42d2c734bc02e8af8f80b5f5f3d9c39f7e8b62
Cr-Commit-Position: refs/heads/master@{#339677}
Patch Set 1 #
Total comments: 4
Patch Set 2 : Make comment clearer. #
Messages
Total messages: 10 (3 generated)
|