commit | 680972d7f662ac2414aaa8fa73f66cacf9e88c9b | [log] [tgz] |
---|---|---|
author | Vadym Doroshenko <[email protected]> | Thu Mar 01 17:31:40 2018 |
committer | Commit Bot <[email protected]> | Thu Mar 01 17:31:40 2018 |
tree | 268aab1b39b4c38b08971bce5f98d64d26430516 | |
parent | 0753a97df25d497e872e2945848907ca9a6661bf [diff] |
[IOS Password Manager] Async suggestions retrieval. When a password form is added dynamically (i.e. with JavaScript after finishing of a page load) IOS Password Manager may learn about existing of this form only after user clicking on some field in this form. On CL https://chromium-review.googlesource.com/c/chromium/src/+/601969 it was implemented retrieving credentials from the Password Store as soon as the user clicked on dynamically added form and then credentials are autofilled. But fill on account select is not available until the user makes another interaction with the form (for example start typing of username). That's suboptimal user experience, it would be good to propose fill on account select immediately as soon as the user clicks the first time in the form. This CL implements async suggestion response to Autofill framework in the same way as it's already implemented in Autofill: 1.When checkIfSuggestionsAvailableForForm (password_controller.mm) is called, and it's found that credentials haven't been retrieved yet for this page, the callback is saved untile response from the Password Store is received. 2.It's implemented that Password Store response is propagated to PasswordController even if case when there are no credentials saved for this page in order to inform Autofill framework that no suggestions are available. Bug: 708597, 709011, 708634 Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet;master.tryserver.chromium.mac:ios-simulator-full-configs Change-Id: Idecc3e621100f3e1b0a3803ce944c4cc116fc3a4 Reviewed-on: https://chromium-review.googlesource.com/921961 Commit-Queue: Vadym Doroshenko <[email protected]> Reviewed-by: Vasilii Sukhanov <[email protected]> Cr-Commit-Position: refs/heads/master@{#540200}
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 .