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

Issue 1814193002: Better filling on suggestion of password fields in Password Manager. (Closed)

Created:
4 years, 9 months ago by dvadym
Modified:
4 years, 8 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, jam, browser-components-watch_chromium.org, jdonnelly+autofillwatch_chromium.org, bondd+autofillwatch_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org, vabr+watchlistautofill_chromium.org, mkwst+watchlist-passwords_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Better filling on suggestion of password fields in Password Manager. There are a lot of reasons why PasswordManager could miss a password field for autofilling, for example when there is an invisible dummy password field and it's autofilled instead of correct one. This patch makes that as soon as the user clicks on password field Password Manager will show suggestion dropdown with credentials that are already fetched from store in PasswordFormManager (if this is not enough, we'll need to add fetching credentials, but now it looks as adding non-necessary complexity). So as consequence of this patch Password Manager will show more suggestions on password fields, probably sometimes in cases where it shouldn't. Precise logic of showing suggestion on password field is the following: A suggestion dropdown is shown on any password field until the user chooses one of the suggestion on some password field, then a suggestion is shown only on this field. The latter part is made for decreasing number of false positives. For example if there is a change password form with <old password field> and <new password field>, initially suggestions will be shown on clicking on both of them, but as soon as the user accepts it for <old passoword field> it will be not shown for <new password field>. BUG=597304, 591058 Committed: https://crrev.com/20e808ba94aa4a1ff5d3c16155f86bf93747de42 Cr-Commit-Position: refs/heads/master@{#386109}

Patch Set 1 #

Patch Set 2 : Continuation of impl #

Patch Set 3 : Continuation of impl #

Patch Set 4 : Rebase and clean-up #

Patch Set 5 : Some fixes #

Total comments: 9

Patch Set 6 : Comments update #

Patch Set 7 : Changed condition on suggestion popup on password field showing #

Patch Set 8 : Fixes #

Patch Set 9 : Tests added #

Total comments: 7

Patch Set 10 : Comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+200 lines, -175 lines) Patch
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 5 6 7 8 6 chunks +73 lines, -35 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.h View 1 2 3 4 5 6 7 8 9 4 chunks +21 lines, -26 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 6 7 8 9 9 chunks +106 lines, -114 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
dvadym
Hi Vaclav, Could you please have a look at this CL? Regards, Vadym
4 years, 8 months ago (2016-04-01 13:03:48 UTC) #4
vabr (Chromium)
Hi Vadym, Looks good so far, I'm waiting with the approval for the tests. Some ...
4 years, 8 months ago (2016-04-01 14:07:37 UTC) #5
dvadym
Hi Vaclav, Finally tests for better filling are ready. Also there are some other changes ...
4 years, 8 months ago (2016-04-07 17:30:20 UTC) #9
vabr (Chromium)
Thanks, Vadym. LGTM with some comments. Cheers, Vaclav https://codereview.chromium.org/1814193002/diff/80001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/1814193002/diff/80001/components/autofill/content/renderer/password_autofill_agent.cc#newcode949 components/autofill/content/renderer/password_autofill_agent.cc:949: // ...
4 years, 8 months ago (2016-04-08 14:47:31 UTC) #10
dvadym
Thanks for review! https://codereview.chromium.org/1814193002/diff/160001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/1814193002/diff/160001/components/autofill/content/renderer/password_autofill_agent.cc#newcode942 components/autofill/content/renderer/password_autofill_agent.cc:942: // If the element is a ...
4 years, 8 months ago (2016-04-08 16:46:46 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1814193002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1814193002/180001
4 years, 8 months ago (2016-04-08 16:47:31 UTC) #14
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 8 months ago (2016-04-08 17:20:50 UTC) #16
commit-bot: I haz the power
4 years, 8 months ago (2016-04-08 17:24:26 UTC) #18
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/20e808ba94aa4a1ff5d3c16155f86bf93747de42
Cr-Commit-Position: refs/heads/master@{#386109}

Powered by Google App Engine
This is Rietveld 408576698