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

Issue 1670763006: Autofill server-side heuristics for 2 fields password form (Closed)

Created:
4 years, 10 months ago by dvadym
Modified:
4 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_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, vabr+watchlistautofill_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Autofill server-side heuristics for 2 fields password form. This patch makes sending votes and queries for forms that contain 2 fields and both of them are passwords. We need to get server-side heuristics for such forms, since some change password forms have this type and we want to support password generation on them. BUG=552420 Committed: https://crrev.com/3b10e7592802aecb71e554f5149d25b1b17d024e Cr-Commit-Position: refs/heads/master@{#374883}

Patch Set 1 #

Patch Set 2 : Rebase, tests #

Patch Set 3 : More tests #

Total comments: 8

Patch Set 4 : Comments addressed #

Total comments: 2

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+133 lines, -3 lines) Patch
M chrome/renderer/autofill/form_autofill_browsertest.cc View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/form_cache.cc View 1 2 3 1 chunk +7 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager.cc View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M components/autofill/core/browser/autofill_manager_unittest.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_structure.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M components/autofill/core/browser/form_structure.cc View 1 2 3 3 chunks +6 lines, -1 line 0 comments Download
M components/autofill/core/browser/form_structure_unittest.cc View 1 2 1 chunk +17 lines, -0 lines 0 comments Download
M components/autofill/core/common/autofill_constants.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 3 4 1 chunk +66 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (13 generated)
dvadym
Hi Ilya, Could you please review autofill part of this CL? Regards, Vadym
4 years, 10 months ago (2016-02-09 17:30:52 UTC) #6
Ilya Sherman
https://codereview.chromium.org/1670763006/diff/40001/components/autofill/content/renderer/form_cache.cc File components/autofill/content/renderer/form_cache.cc (right): https://codereview.chromium.org/1670763006/diff/40001/components/autofill/content/renderer/form_cache.cc#newcode72 components/autofill/content/renderer/form_cache.cc:72: if (field.form_control_type != "password") Not related to this change, ...
4 years, 10 months ago (2016-02-09 22:33:40 UTC) #7
dvadym
Thanks Ilya for comments! I've addressed them. PTAL https://codereview.chromium.org/1670763006/diff/40001/components/autofill/content/renderer/form_cache.cc File components/autofill/content/renderer/form_cache.cc (right): https://codereview.chromium.org/1670763006/diff/40001/components/autofill/content/renderer/form_cache.cc#newcode72 components/autofill/content/renderer/form_cache.cc:72: if ...
4 years, 10 months ago (2016-02-10 11:58:28 UTC) #8
Ilya Sherman
//components/autofill/* LGTM. I didn't really look at the password_manager unit test -- it seems a ...
4 years, 10 months ago (2016-02-10 20:19:17 UTC) #9
vabr (Chromium)
components/password_manager/core/browser/password_form_manager_unittest.cc LGTM https://codereview.chromium.org/1670763006/diff/60001/components/password_manager/core/browser/password_form_manager_unittest.cc File components/password_manager/core/browser/password_form_manager_unittest.cc (right): https://codereview.chromium.org/1670763006/diff/60001/components/password_manager/core/browser/password_form_manager_unittest.cc#newcode2767 components/password_manager/core/browser/password_form_manager_unittest.cc:2767: std::string expected_login_signature; nit: Why not merge lines ...
4 years, 10 months ago (2016-02-11 08:53:28 UTC) #11
dvadym
Thanks Ilya and Vaclav for review! https://codereview.chromium.org/1670763006/diff/60001/components/password_manager/core/browser/password_form_manager_unittest.cc File components/password_manager/core/browser/password_form_manager_unittest.cc (right): https://codereview.chromium.org/1670763006/diff/60001/components/password_manager/core/browser/password_form_manager_unittest.cc#newcode2767 components/password_manager/core/browser/password_form_manager_unittest.cc:2767: std::string expected_login_signature; On ...
4 years, 10 months ago (2016-02-11 09:54:54 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1670763006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1670763006/80001
4 years, 10 months ago (2016-02-11 10:17:42 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1670763006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1670763006/80001
4 years, 10 months ago (2016-02-11 10:17:45 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/20713)
4 years, 10 months ago (2016-02-11 10:43:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_rel/builds/20713)
4 years, 10 months ago (2016-02-11 10:43:32 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1670763006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1670763006/80001
4 years, 10 months ago (2016-02-11 11:33:19 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-11 11:37:42 UTC) #24
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-11 11:38:37 UTC) #25
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:35:15 UTC) #27
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/3b10e7592802aecb71e554f5149d25b1b17d024e
Cr-Commit-Position: refs/heads/master@{#374883}

Powered by Google App Engine
This is Rietveld 408576698