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

Issue 120343003: Autofill popup should not be presented when autocomplete='off', even if (Closed)

Created:
7 years ago by jww
Modified:
6 years, 11 months ago
CC:
chromium-reviews, benquan, jam, browser-components-watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, rouslan+autofillwatch_chromium.org
Visibility:
Public.

Description

Autofill popup should not be presented when autocomplete='off', even if there already is information in the autofill DB. BUG=326679 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243841

Patch Set 1 #

Patch Set 2 : Added browser test #

Total comments: 13

Patch Set 3 : Refactoring and fixes as per comments #

Total comments: 11

Patch Set 4 : Test and comment improvements #

Total comments: 12

Patch Set 5 : Fixes of nits from isherman #

Unified diffs Side-by-side diffs Delta from patch set Stats (+109 lines, -15 lines) Patch
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 2 chunks +84 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 6 chunks +25 lines, -15 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
jww
I think this fixes the (very minor) problem that if an autocomplete='off' form is hit, ...
7 years ago (2013-12-21 00:30:39 UTC) #1
Ilya Sherman
Please add test coverage for this change.
6 years, 12 months ago (2013-12-26 21:43:34 UTC) #2
jww
Browser test added.
6 years, 12 months ago (2013-12-27 21:13:55 UTC) #3
Ilya Sherman
https://codereview.chromium.org/120343003/diff/60001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/120343003/diff/60001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode814 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:814: TEST_F(PasswordAutofillAgentTest, SelectUsernameOnAutofillOff) { nit: "On" -> "When" or "With" ...
6 years, 12 months ago (2013-12-27 21:43:22 UTC) #4
Garrett Casto
Currently on vacation, so not going to be responding very fast. https://codereview.chromium.org/120343003/diff/60001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): ...
6 years, 12 months ago (2013-12-27 22:09:47 UTC) #5
jww
I think I've addressed all of the comments, expect for the one question I've let ...
6 years, 12 months ago (2013-12-27 23:04:38 UTC) #6
Ilya Sherman
https://codereview.chromium.org/120343003/diff/60001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/120343003/diff/60001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode850 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:850: EXPECT_TRUE(SimulateShowSuggestions()); I think something like this ought to work: ...
6 years, 12 months ago (2013-12-27 23:17:08 UTC) #7
jww
https://codereview.chromium.org/120343003/diff/60001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/120343003/diff/60001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode850 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:850: EXPECT_TRUE(SimulateShowSuggestions()); On 2013/12/27 23:17:09, Ilya Sherman (Away thru Jan ...
6 years, 11 months ago (2013-12-31 00:33:04 UTC) #8
Ilya Sherman
Thanks. LGTM with nits addressed: https://codereview.chromium.org/120343003/diff/200001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/120343003/diff/200001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode262 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:262: // password and username. ...
6 years, 11 months ago (2014-01-07 00:56:23 UTC) #9
jww
Thanks, isherman! gcasto, I'll still wait for your LGTM to double check this. https://codereview.chromium.org/120343003/diff/200001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File ...
6 years, 11 months ago (2014-01-07 20:00:24 UTC) #10
Garrett Casto
The only thing that I noticed is that autocomplete=off at the form level won't be ...
6 years, 11 months ago (2014-01-08 23:31:25 UTC) #11
Ilya Sherman
On 2014/01/08 23:31:25, Garrett Casto wrote: > The only thing that I noticed is that ...
6 years, 11 months ago (2014-01-08 23:36:21 UTC) #12
Garrett Casto
On 2014/01/08 23:36:21, Ilya Sherman (Away Jan11-Feb2) wrote: > On 2014/01/08 23:31:25, Garrett Casto wrote: ...
6 years, 11 months ago (2014-01-09 00:36:01 UTC) #13
jww
On 2014/01/09 00:36:01, Garrett Casto wrote: > On 2014/01/08 23:36:21, Ilya Sherman (Away Jan11-Feb2) wrote: ...
6 years, 11 months ago (2014-01-09 00:37:04 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/120343003/240001
6 years, 11 months ago (2014-01-09 00:41:58 UTC) #15
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=243849
6 years, 11 months ago (2014-01-09 04:07:56 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jww@chromium.org/120343003/240001
6 years, 11 months ago (2014-01-09 07:05:55 UTC) #17
commit-bot: I haz the power
6 years, 11 months ago (2014-01-09 10:50:47 UTC) #18
Message was sent while issue was closed.
Change committed as 243841

Powered by Google App Engine
This is Rietveld 408576698