Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Issue 1234193005: iOS full-form Autofill: Handle partially filled forms correctly. (Closed)

Created:
5 years, 5 months ago by bondd
Modified:
5 years, 5 months ago
Reviewers:
*Justin Donnelly
CC:
chromium-reviews, estade+watch_chromium.org, browser-components-watch_chromium.org, rouslan+autofillwatch_chromium.org, zkoch1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

iOS 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. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+41 lines, -9 lines) Patch
M components/autofill/ios/browser/js_autofill_manager.h View 1 chunk +8 lines, -2 lines 0 comments Download
M components/autofill/ios/browser/js_autofill_manager.mm View 1 chunk +12 lines, -5 lines 0 comments Download
M components/autofill/ios/browser/resources/autofill_controller.js View 1 4 chunks +21 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
bondd
5 years, 5 months ago (2015-07-17 22:53:00 UTC) #3
Justin Donnelly
https://codereview.chromium.org/1234193005/diff/1/components/autofill/ios/browser/resources/autofill_controller.js File components/autofill/ios/browser/resources/autofill_controller.js (right): https://codereview.chromium.org/1234193005/diff/1/components/autofill/ios/browser/resources/autofill_controller.js#newcode506 components/autofill/ios/browser/resources/autofill_controller.js:506: * @param {string} forceFillFieldName Named field will always be ...
5 years, 5 months ago (2015-07-20 17:21:41 UTC) #4
bondd
https://codereview.chromium.org/1234193005/diff/1/components/autofill/ios/browser/resources/autofill_controller.js File components/autofill/ios/browser/resources/autofill_controller.js (right): https://codereview.chromium.org/1234193005/diff/1/components/autofill/ios/browser/resources/autofill_controller.js#newcode506 components/autofill/ios/browser/resources/autofill_controller.js:506: * @param {string} forceFillFieldName Named field will always be ...
5 years, 5 months ago (2015-07-20 23:55:29 UTC) #5
Justin Donnelly
lgtm
5 years, 5 months ago (2015-07-21 17:07:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1234193005/20001
5 years, 5 months ago (2015-07-21 17:08:58 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 5 months ago (2015-07-21 17:18:10 UTC) #9
commit-bot: I haz the power
5 years, 5 months ago (2015-07-21 17:19:30 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2c42d2c734bc02e8af8f80b5f5f3d9c39f7e8b62
Cr-Commit-Position: refs/heads/master@{#339677}

Powered by Google App Engine
This is Rietveld 408576698