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

Issue 309063006: Do not autofill element when there is no autofill suggestion from profile (Closed)

Created:
6 years, 6 months ago by ziran.sun
Modified:
6 years, 6 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Ilya Sherman, rouslan+autofillwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Do not autofill element when there is no autofill suggestion from profile. R=isherman@chromium.org BUG=377705 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275417

Patch Set 1 #

Total comments: 3

Patch Set 2 : Update code as per Ilya's review comments. #

Total comments: 4

Patch Set 3 : Update code as per Ilya's further review comments. #

Patch Set 4 : Only check is_autofilled property for <select> element while filling/previewing form. #

Patch Set 5 : Mark is_autofilled property for autocomplete formdata result. #

Total comments: 1

Patch Set 6 : Update code as per further review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -1 line) Patch
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 2 4 8 chunks +24 lines, -0 lines 0 comments Download
M components/autofill/content/browser/request_autocomplete_manager.cc View 1 2 3 4 5 1 chunk +10 lines, -1 line 0 comments Download
M components/autofill/content/renderer/form_autofill_util.cc View 1 4 2 chunks +6 lines, -0 lines 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
ziran.sun
Please review. Thanks!
6 years, 6 months ago (2014-06-02 17:07:47 UTC) #1
Ilya Sherman
Thanks, Ziran! We should also implement this same behavior for filling the form (as well ...
6 years, 6 months ago (2014-06-02 23:51:00 UTC) #2
ziran.sun
Updated code as per review comments. All review comments have been addressed. Please review. Thanks!
6 years, 6 months ago (2014-06-03 12:55:09 UTC) #3
Ilya Sherman
Thanks, Ziran! https://codereview.chromium.org/309063006/diff/20001/chrome/renderer/autofill/form_autofill_browsertest.cc File chrome/renderer/autofill/form_autofill_browsertest.cc (right): https://codereview.chromium.org/309063006/diff/20001/chrome/renderer/autofill/form_autofill_browsertest.cc#newcode54 chrome/renderer/autofill/form_autofill_browsertest.cc:54: bool is_autofilled; // Whether the FormFieldData field ...
6 years, 6 months ago (2014-06-03 20:39:32 UTC) #4
ziran.sun
Updated code as per further review comments. All comments have been addressed. Please review. Thanks!
6 years, 6 months ago (2014-06-04 10:15:40 UTC) #5
Ilya Sherman
LGTM. Thanks!
6 years, 6 months ago (2014-06-04 19:53:51 UTC) #6
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 6 months ago (2014-06-04 19:53:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/309063006/30001
6 years, 6 months ago (2014-06-04 19:55:56 UTC) #8
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: android_chromium_gn_compile_rel on tryserver.chromium ...
6 years, 6 months ago (2014-06-04 23:29:27 UTC) #9
Ilya Sherman
The CQ bit was unchecked by isherman@chromium.org
6 years, 6 months ago (2014-06-04 23:30:49 UTC) #10
Ilya Sherman
Looks like there are failing tests. PTAL.
6 years, 6 months ago (2014-06-04 23:31:03 UTC) #11
ziran.sun
On 2014/06/04 23:31:03, Ilya Sherman wrote: > Looks like there are failing tests. PTAL. Ilya, ...
6 years, 6 months ago (2014-06-05 16:42:44 UTC) #12
ziran.sun
Updated code. Please review. Thanks!
6 years, 6 months ago (2014-06-05 16:43:39 UTC) #13
Ilya Sherman
Hi Ziran, I like the solution in patch set 5 better. That LGTM with the ...
6 years, 6 months ago (2014-06-06 04:19:07 UTC) #14
ziran.sun
The CQ bit was checked by ziran.sun@samsung.com
6 years, 6 months ago (2014-06-06 09:06:16 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ziran.sun@samsung.com/309063006/90001
6 years, 6 months ago (2014-06-06 09:07:19 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-06-06 11:50:32 UTC) #17
Message was sent while issue was closed.
Change committed as 275417

Powered by Google App Engine
This is Rietveld 408576698