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

Issue 1863533003: Sending a vote that a Password form looks like a SignUp form. (Closed)

Created:
4 years, 8 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

Sending a vote that a Password form looks like a SignUp form. Currently for finding SignUp forms no local heuristics are used. This CL adds local heuristics for sending vote on server that a form looks similar to a SignUp form, namely if the form has more than 1 text field with the user input or it has at least 1 text field with the user input, no password and a new password field. That covers SignUp forms on many popular sites, such as gmail, amazon, wikipedia. It could give false positives on change password forms, but it's not a problem, since a decision anyway will be made server-side and there are votes for change password forms. It's considered only fields with the user input, so invisible fields are not a problem here. BUG=582434 Committed: https://crrev.com/ee61555b653be58d5c6741fa5dab1bec384724a1 Cr-Commit-Position: refs/heads/master@{#385765}

Patch Set 1 #

Patch Set 2 : Tiny fix #

Total comments: 13

Patch Set 3 : Fixes #

Patch Set 4 : Test added #

Patch Set 5 : Rebase #

Patch Set 6 : Fix compilation error #

Total comments: 6

Patch Set 7 : Comments addressed #

Total comments: 2

Patch Set 8 : Comment fix #

Messages

Total messages: 21 (10 generated)
dvadym
Hi Vaclav, Could you please have a look at this CL? Please advice if you ...
4 years, 8 months ago (2016-04-05 16:48:33 UTC) #5
vabr (Chromium)
Hi Vadym, This looks good in general, with some minor comments. Looking forward to the ...
4 years, 8 months ago (2016-04-06 01:31:57 UTC) #7
dvadym
Thanks Vaclav for comments! I've addressed them. PTAL https://codereview.chromium.org/1863533003/diff/20001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1863533003/diff/20001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode603 components/autofill/content/renderer/password_form_conversion_utils.cc:603: // ...
4 years, 8 months ago (2016-04-06 16:02:21 UTC) #9
vabr (Chromium)
Thanks! LGTM. Vaclav https://codereview.chromium.org/1863533003/diff/20001/components/password_manager/core/browser/password_form_manager.cc File components/password_manager/core/browser/password_form_manager.cc (right): https://codereview.chromium.org/1863533003/diff/20001/components/password_manager/core/browser/password_form_manager.cc#newcode294 components/password_manager/core/browser/password_form_manager.cc:294: does_look_like_signup_form = credentials.does_look_like_signup_form; On 2016/04/06 16:02:20, ...
4 years, 8 months ago (2016-04-06 22:42:12 UTC) #10
dvadym
Thanks Vaclav for review! I've addressed your comments! https://codereview.chromium.org/1863533003/diff/100001/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc File components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc (right): https://codereview.chromium.org/1863533003/diff/100001/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc#newcode172 components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc:172: // ...
4 years, 8 months ago (2016-04-07 11:52:18 UTC) #11
vabr (Chromium)
LGTM with a nit, thanks! (Feel free to land after addressing the nit, I might ...
4 years, 8 months ago (2016-04-07 12:03:46 UTC) #12
dvadym
Thanks review! https://codereview.chromium.org/1863533003/diff/120001/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc File components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc (right): https://codereview.chromium.org/1863533003/diff/120001/components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc#newcode171 components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc:171: // a |password_form|. If |with_user_input| == true ...
4 years, 8 months ago (2016-04-07 14:53:22 UTC) #14
vabr (Chromium)
lgtm
4 years, 8 months ago (2016-04-07 14:57:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1863533003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1863533003/140001
4 years, 8 months ago (2016-04-07 15:00:29 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-07 15:40:54 UTC) #19
commit-bot: I haz the power
4 years, 8 months ago (2016-04-07 15:42:03 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/ee61555b653be58d5c6741fa5dab1bec384724a1
Cr-Commit-Position: refs/heads/master@{#385765}

Powered by Google App Engine
This is Rietveld 408576698