commit | 77318515062e22c6dbcb5b4ae8c6daa4ef70d5b9 | [log] [tgz] |
---|---|---|
author | Moe Ahmadi <mahmadi@chromium.org> | Wed Jun 27 09:43:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jun 27 09:43:02 2018 |
tree | 50dc4fa9b0e4777bccf4d20be29dda1bbf8676b0 | |
parent | 8d88b47f8323e3e513a757e94b8d4c3b546143f1 [diff] |
[AF][IOS] Scan page for form changes when a field is focused This CL fixes a regression caused by crrev.com/c/1012979. Previously, AutofillAgent would scan the whole page on form activities due to the possiblity of Autofill having been enabled after page load. crrev.com/c/1012979 replaced that logic in favor of observing the Pref directly. This has a side effect where previously hidden fields can go unnoticed by AutofillManager. This CL fixes that regression by scanning the page when a field is focused. All fields receive focuse before their value is set by Autofill, therefore, AutofillManager can get notified of previously hidden fields. Bug: 855696 Change-Id: I175bf90e12d1ca356b746e6347943a295063c288 Reviewed-on: https://chromium-review.googlesource.com/1112493 Reviewed-by: Olivier Robin <olivierrobin@chromium.org> Commit-Queue: Olivier Robin <olivierrobin@chromium.org> Cr-Commit-Position: refs/heads/master@{#570713}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .