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

Issue 56653002: [Password Autofill] Make better use of prefilled usernames. (Closed)

Created:
7 years, 1 month ago by Garrett Casto
Modified:
7 years, 1 month ago
Reviewers:
Ilya Sherman
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, Ilya Sherman, rouslan+autofillwatch_chromium.org, vabr (Chromium), Patrick Dubroy
Visibility:
Public.

Description

[Password Autofill] Make better use of prefilled usernames. If a username field is prefilled, make sure to check all possible usernames to see if we can fill instead of only filling with the preferred username if it matches. BUG=309817 R=isherman@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232928

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 27

Patch Set 4 : Comments #

Total comments: 4

Patch Set 5 : more comments #

Total comments: 7

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -53 lines) Patch
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 5 3 chunks +51 lines, -4 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 4 1 chunk +9 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 8 chunks +64 lines, -49 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Garrett Casto
7 years, 1 month ago (2013-11-01 23:53:58 UTC) #1
Ilya Sherman
Sorry, I've been in M32 crunch mode today. I should have time to take a ...
7 years, 1 month ago (2013-11-02 02:05:53 UTC) #2
Garrett Casto
On 2013/11/02 02:05:53, Ilya Sherman wrote: > Sorry, I've been in M32 crunch mode today. ...
7 years, 1 month ago (2013-11-04 21:35:13 UTC) #3
Ilya Sherman
https://codereview.chromium.org/56653002/diff/50001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/56653002/diff/50001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode358 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:358: // we know about, we leave the field untouched. ...
7 years, 1 month ago (2013-11-04 23:10:47 UTC) #4
Garrett Casto
https://codereview.chromium.org/56653002/diff/50001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc File chrome/renderer/autofill/password_autofill_agent_browsertest.cc (right): https://codereview.chromium.org/56653002/diff/50001/chrome/renderer/autofill/password_autofill_agent_browsertest.cc#newcode358 chrome/renderer/autofill/password_autofill_agent_browsertest.cc:358: // we know about, we leave the field untouched. ...
7 years, 1 month ago (2013-11-05 00:40:34 UTC) #5
Ilya Sherman
https://codereview.chromium.org/56653002/diff/50001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/56653002/diff/50001/components/autofill/content/renderer/password_autofill_agent.cc#newcode500 components/autofill/content/renderer/password_autofill_agent.cc:500: username_element, password_element); On 2013/11/05 00:40:35, Garrett Casto wrote: > ...
7 years, 1 month ago (2013-11-05 01:25:11 UTC) #6
Garrett Casto
https://codereview.chromium.org/56653002/diff/50001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/56653002/diff/50001/components/autofill/content/renderer/password_autofill_agent.cc#newcode673 components/autofill/content/renderer/password_autofill_agent.cc:673: username_element->setValue(username); On 2013/11/05 01:25:11, Ilya Sherman wrote: > On ...
7 years, 1 month ago (2013-11-05 01:56:38 UTC) #7
Ilya Sherman
Thanks, LGTM with the remaining comments addressed. https://codereview.chromium.org/56653002/diff/210001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/56653002/diff/210001/components/autofill/content/renderer/password_autofill_agent.cc#newcode603 components/autofill/content/renderer/password_autofill_agent.cc:603: if (!username_element.form().autoComplete()) ...
7 years, 1 month ago (2013-11-05 02:21:42 UTC) #8
Garrett Casto
https://codereview.chromium.org/56653002/diff/210001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/56653002/diff/210001/components/autofill/content/renderer/password_autofill_agent.cc#newcode603 components/autofill/content/renderer/password_autofill_agent.cc:603: if (!username_element.form().autoComplete()) On 2013/11/05 02:21:42, Ilya Sherman wrote: > ...
7 years, 1 month ago (2013-11-05 05:56:10 UTC) #9
Ilya Sherman
https://codereview.chromium.org/56653002/diff/210001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/56653002/diff/210001/components/autofill/content/renderer/password_autofill_agent.cc#newcode695 components/autofill/content/renderer/password_autofill_agent.cc:695: if (IsElementEditable(*password_element)) { On 2013/11/05 05:56:11, Garrett Casto wrote: ...
7 years, 1 month ago (2013-11-05 06:12:58 UTC) #10
Garrett Casto
7 years, 1 month ago (2013-11-05 06:45:21 UTC) #11
Message was sent while issue was closed.
Committed patchset #6 manually as r232928 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698