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

Issue 316853006: Autofill's "Clear Form" should clear only autofilled fields (Closed)

Created:
6 years, 6 months ago by Nikhil
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

Autofill's "Clear Form" should clear only autofilled fields Updated ClearFormWithElement() to ignore fields that were not autofilled. BUG=379969 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=277902

Patch Set 1 #

Patch Set 2 : Added test case #

Total comments: 4

Patch Set 3 : Review feedback #

Total comments: 4

Patch Set 4 : Updated test case #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -5 lines) Patch
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 2 3 6 chunks +71 lines, -5 lines 0 comments Download
M components/autofill/content/renderer/form_cache.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Nikhil
PTAL. Thanks! If you've any review comments, then please let me know. I'll incorporate them ...
6 years, 6 months ago (2014-06-04 14:13:16 UTC) #1
Ilya Sherman
Please add test coverage as well. Otherwise LG -- thanks!
6 years, 6 months ago (2014-06-04 20:33:31 UTC) #2
Ilya Sherman
Sorry, I probably should have pointed you at where the existing tests live, since it's ...
6 years, 6 months ago (2014-06-06 21:15:20 UTC) #3
Nikhil
On 2014/06/06 21:15:20, Ilya Sherman wrote: > Sorry, I probably should have pointed you at ...
6 years, 6 months ago (2014-06-11 11:36:11 UTC) #4
Nikhil
Test case added. I hope I added in the right file. PTAL :) If you've ...
6 years, 6 months ago (2014-06-13 10:55:34 UTC) #5
Ilya Sherman
On 2014/06/13 10:55:34, Nikhil wrote: > I noticed that after my change following two test ...
6 years, 6 months ago (2014-06-13 20:55:29 UTC) #6
Nikhil
Review comments incorporated. All tests passed. PTAL. Thanks! https://codereview.chromium.org/316853006/diff/20001/chrome/renderer/autofill/form_autofill_browsertest.cc File chrome/renderer/autofill/form_autofill_browsertest.cc (right): https://codereview.chromium.org/316853006/diff/20001/chrome/renderer/autofill/form_autofill_browsertest.cc#newcode3542 chrome/renderer/autofill/form_autofill_browsertest.cc:3542: EXPECT_TRUE(form_cache.ClearFormWithElement(phone)); ...
6 years, 6 months ago (2014-06-16 13:54:28 UTC) #7
Ilya Sherman
Thanks, Nikhil. https://codereview.chromium.org/316853006/diff/40001/chrome/renderer/autofill/form_autofill_browsertest.cc File chrome/renderer/autofill/form_autofill_browsertest.cc (right): https://codereview.chromium.org/316853006/diff/40001/chrome/renderer/autofill/form_autofill_browsertest.cc#newcode2967 chrome/renderer/autofill/form_autofill_browsertest.cc:2967: nit: I'd avoid these blank lines for ...
6 years, 6 months ago (2014-06-16 21:19:37 UTC) #8
Nikhil
Updated the behavior of existing test case. PTAL. Let me know whether this is okay ...
6 years, 6 months ago (2014-06-17 08:59:44 UTC) #9
Ilya Sherman
LGTM. Thanks, Nikhil!
6 years, 6 months ago (2014-06-17 17:43:49 UTC) #10
Ilya Sherman
The CQ bit was checked by isherman@chromium.org
6 years, 6 months ago (2014-06-17 17:43:53 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/n.bansal@samsung.com/316853006/60001
6 years, 6 months ago (2014-06-17 17:44:25 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 23:30:08 UTC) #13
Message was sent while issue was closed.
Change committed as 277902

Powered by Google App Engine
This is Rietveld 408576698