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

Issue 1014683006: [Password manager] Recognise squashed login+sign-up forms (Closed)

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

Description

[Password manager] Recognise squashed login+sign-up forms Some pages contain a login form and a sign-up form squashed in one <form> element. While that is a bad practice, Chrome should be able to distinguish these forms from change-password forms (the difference being that the former will have at least one non-password text field between the login-part password field and the sign-up part password fields). This distinction enables Chrome to work on the login forms. BUG=449714 Committed: https://crrev.com/55c69e29a5ca49f991046818157a1be253f38ff6 Cr-Commit-Position: refs/heads/master@{#321965}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Fix failing PasswordManagerTest #

Total comments: 10

Patch Set 3 : Comments addressed #

Patch Set 4 : Just rebased #

Patch Set 5 : Typos #

Total comments: 10

Patch Set 6 : Ilya's comments #

Patch Set 7 : Fix compilation #

Patch Set 8 : Just rebased #

Total comments: 4

Patch Set 9 : Just rebased #

Patch Set 10 : LazyInstance + commented regexp #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+353 lines, -25 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/test/data/password/login_signup_form.html View 1 chunk +17 lines, -0 lines 0 comments Download
M components/autofill.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/autofill/content/common/autofill_param_traits_macros.h View 2 chunks +4 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.cc View 1 2 3 4 5 6 7 8 9 6 chunks +80 lines, -0 lines 1 comment Download
M components/autofill/content/renderer/password_form_conversion_utils_browsertest.cc View 1 2 2 chunks +91 lines, -0 lines 0 comments Download
M components/autofill/core/common/password_form.h View 1 2 3 4 3 chunks +19 lines, -0 lines 0 comments Download
M components/autofill/core/common/password_form.cc View 1 2 3 3 chunks +18 lines, -3 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.h View 2 chunks +13 lines, -8 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 4 chunks +13 lines, -10 lines 0 comments Download
M components/password_manager/core/browser/password_form_manager_unittest.cc View 1 2 3 2 chunks +42 lines, -0 lines 0 comments Download
M components/password_manager/core/browser/password_manager.cc View 1 chunk +1 line, -2 lines 0 comments Download
M components/password_manager/core/browser/password_manager_unittest.cc View 1 4 chunks +8 lines, -2 lines 0 comments Download

Messages

Total messages: 20 (5 generated)
vabr (Chromium)
(+dvadym@ on his own demand) Hi Garrett, Could you please have a look? This CL ...
5 years, 9 months ago (2015-03-17 17:34:10 UTC) #2
Garrett Casto
https://codereview.chromium.org/1014683006/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1014683006/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode1675 chrome/browser/password_manager/password_manager_browsertest.cc:1675: // Password form without username-field. I think this is ...
5 years, 9 months ago (2015-03-17 22:49:37 UTC) #3
vabr (Chromium)
Thanks, Garrett! Comments addressed, please take a look. Cheers, Vaclav https://codereview.chromium.org/1014683006/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1014683006/diff/20001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode1675 ...
5 years, 9 months ago (2015-03-18 16:51:03 UTC) #4
Garrett Casto
lgtm
5 years, 9 months ago (2015-03-19 08:22:17 UTC) #5
vabr (Chromium)
Thanks, Garrett. @Ilya: could you please check that adding the dependency on re2 in components/autofill/content/renderer/DEPS ...
5 years, 9 months ago (2015-03-19 09:24:58 UTC) #7
Ilya Sherman
The dependency on re2 not lgtm. https://codereview.chromium.org/1014683006/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1014683006/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode14 components/autofill/content/renderer/password_form_conversion_utils.cc:14: #include "third_party/re2/re2/re2.h" Existing ...
5 years, 9 months ago (2015-03-19 21:25:50 UTC) #8
vabr (Chromium)
(Before responding to Ilya -- removing cpu@ from the reviewers' list, because #including third_party/icu does ...
5 years, 9 months ago (2015-03-20 13:03:47 UTC) #9
vabr (Chromium)
Thanks, Ilya, for your review! I addressed part of your comments, but have questions about ...
5 years, 9 months ago (2015-03-20 13:07:01 UTC) #11
Ilya Sherman
https://codereview.chromium.org/1014683006/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1014683006/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode39 components/autofill/content/renderer/password_form_conversion_utils.cc:39: } On 2015/03/20 13:07:00, vabr (Chromium) wrote: > On ...
5 years, 9 months ago (2015-03-20 22:43:08 UTC) #12
vabr (Chromium)
Thanks Ilya. PTAL again, I tried to address your comments further. Cheers, Vaclav https://codereview.chromium.org/1014683006/diff/80001/components/autofill/content/renderer/password_form_conversion_utils.cc File ...
5 years, 9 months ago (2015-03-23 14:23:45 UTC) #13
Ilya Sherman
Thanks. LGTM. https://codereview.chromium.org/1014683006/diff/180001/components/autofill/content/renderer/password_form_conversion_utils.cc File components/autofill/content/renderer/password_form_conversion_utils.cc (right): https://codereview.chromium.org/1014683006/diff/180001/components/autofill/content/renderer/password_form_conversion_utils.cc#newcode54 components/autofill/content/renderer/password_form_conversion_utils.cc:54: ".*"; // Anything beyond that. Thanks, this ...
5 years, 9 months ago (2015-03-24 00:28:02 UTC) #14
vabr (Chromium)
Thanks Ilya and Garrett for your review. Looks like we are all settled now, so ...
5 years, 9 months ago (2015-03-24 09:46:11 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1014683006/180001
5 years, 9 months ago (2015-03-24 09:46:29 UTC) #18
commit-bot: I haz the power
Committed patchset #10 (id:180001)
5 years, 9 months ago (2015-03-24 10:45:23 UTC) #19
commit-bot: I haz the power
5 years, 9 months ago (2015-03-24 10:46:18 UTC) #20
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/55c69e29a5ca49f991046818157a1be253f38ff6
Cr-Commit-Position: refs/heads/master@{#321965}

Powered by Google App Engine
This is Rietveld 408576698