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 1292693004: [Password Manager] Autofill forms with field name and id attributes missing. (Closed)

Created:
5 years, 4 months ago by Pritam Nikam
Modified:
5 years, 2 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Password Manager] Autofill forms with field name and id attributes missing. Currently, password form (and change password form) having no name or id attribute specified for password input field, treated as an invalid password form. And autofilling such forms is ignored. CL is split into 2 parts: [A] Allow us storing the password forms having name or id attributes missing from the fields: https://codereview.chromium.org/1286593003/ [B] Allow us to autofill such password forms [this patch]. With this patch we autofill the password forms having fields that either ambiguous or lacks names and id fields. BUG=497630 TEST=PasswordManagerBrowserTestBase. AutofillSuggetionsForPasswordFormWithoutNameOrIdAttribute PasswordManagerBrowserTestBase. AutofillSuggetionsForPasswordFormWithAmbiguousIdAttribute PasswordManagerBrowserTestBase. AutofillSuggetionsForChangePwdWithEmptyNames PasswordManagerBrowserTestBase. AutofillSuggetionsForChangePwdWithEmptyNamesAndAutocomplete PasswordManagerBrowserTestBase. AutofillSuggetionsForChangePwdWithEmptyNamesButOnlyNewPwdField PasswordAutofillAgentTest. SuggestionsOnFormContainingAmbiguousOrEmptyNames Committed: https://crrev.com/7e2a984f49a0511533f2aabbc2e4be5107a8bb91 Cr-Commit-Position: refs/heads/master@{#350795}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Added Tests. #

Patch Set 4 : Just a code rebase. #

Patch Set 5 : Code restructured. #

Total comments: 22

Patch Set 6 : Incorporated Vaclav's changes. #

Total comments: 2

Patch Set 7 : Fixed browser tests. #

Total comments: 8

Patch Set 8 : Just a code rebase. #

Patch Set 9 : Addresses Vadym's inputs. #

Total comments: 7

Patch Set 10 : Addresses Vadym's inputs. #

Total comments: 6

Patch Set 11 : Addresses Vadym's inputs. #

Patch Set 12 : Added a browser_tests for suggestion popup. #

Total comments: 13

Patch Set 13 : Incorporated review inputs. #

Total comments: 4

Patch Set 14 : Incorporated Vaclav's Inputs. #

Total comments: 6

Patch Set 15 : Addresses Vadym's inputs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+608 lines, -41 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +271 lines, -0 lines 0 comments Download
M chrome/renderer/autofill/password_autofill_agent_browsertest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +165 lines, -0 lines 0 comments Download
A chrome/test/data/password/ambiguous_password_form.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +38 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +122 lines, -32 lines 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +5 lines, -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 10 11 12 13 14 2 chunks +7 lines, -9 lines 0 comments Download

Messages

Total messages: 50 (19 generated)
Pritam Nikam
On 2015/08/14 16:17:26, Pritam Nikam wrote: > mailto:pritam.nikam@samsung.com changed reviewers: > + mailto:vivek.vg@samsung.com, mailto:vivekg@chromium.org Hi ...
5 years, 4 months ago (2015-08-14 16:21:27 UTC) #2
Pritam Nikam
Hi Vadym, with this patch we fill the password form having fields that either ambiguous ...
5 years, 4 months ago (2015-08-25 09:12:29 UTC) #4
vabr (Chromium)
Hi Pritam Nikam, I'm posting a couple of minor comments here. But then I realised ...
5 years, 3 months ago (2015-08-26 09:36:01 UTC) #5
Pritam Nikam
Thanks Vaclav for review. I've addressed you inputs, please have a look. Thanks! https://codereview.chromium.org/1292693004/diff/80001/chrome/browser/password_manager/password_manager_browsertest.cc File ...
5 years, 3 months ago (2015-08-26 13:25:41 UTC) #7
vabr (Chromium)
Hi Pritam Nikam. Thanks for addressing the comments. As I said, I'd like to keep ...
5 years, 3 months ago (2015-08-26 13:39:01 UTC) #8
Pritam Nikam
Thanks Vaclav! I've addressed your review comments in new patch set. Hi Vadym, PTAL. Thanks! ...
5 years, 3 months ago (2015-08-27 11:42:02 UTC) #9
vabr (Chromium)
On 2015/08/27 11:42:02, Pritam Nikam wrote: > Thanks Vaclav! I've addressed your review comments in ...
5 years, 3 months ago (2015-08-27 12:04:15 UTC) #10
dvadym
Hi Pritam Nikam, 1.After landing your CL with saving of forms with empty username and ...
5 years, 3 months ago (2015-08-28 16:06:02 UTC) #11
Pritam Nikam
Thanks Vadym for inputs :-) I've incorporated review comments along new patch set, ptal. Thanks! ...
5 years, 3 months ago (2015-09-01 13:40:25 UTC) #12
dvadym
Hi Pritam Nikam, please find below my comments. Thanks, Vadym https://codereview.chromium.org/1292693004/diff/140001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/1292693004/diff/140001/components/autofill/content/renderer/password_autofill_agent.cc#newcode150 ...
5 years, 3 months ago (2015-09-07 15:26:00 UTC) #14
Pritam Nikam
Thanks! Vadym. I've incorporated inputs along new patch set, ptal. Thanks! https://codereview.chromium.org/1292693004/diff/140001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): ...
5 years, 3 months ago (2015-09-08 15:56:19 UTC) #17
dvadym
Hi Pritam Nikam, Please find my nits. Currently CL looks good. Sorry I've realized only ...
5 years, 3 months ago (2015-09-11 14:15:34 UTC) #18
Pritam Nikam
Thanks Vadym for inputs. I've incorporated in new patch set, ptal. Thanks! https://codereview.chromium.org/1292693004/diff/240001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc ...
5 years, 3 months ago (2015-09-12 06:51:44 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292693004/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292693004/280001
5 years, 3 months ago (2015-09-12 12:46:42 UTC) #23
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years, 3 months ago (2015-09-12 12:46:45 UTC) #25
dvadym
Hi Pritam Nikam, CL looks good. Could you please add test that suggestions popup shown? ...
5 years, 3 months ago (2015-09-17 16:27:19 UTC) #26
Pritam Nikam
On 2015/09/17 16:27:19, dvadym wrote: > Hi Pritam Nikam, > > CL looks good. > ...
5 years, 3 months ago (2015-09-18 14:07:54 UTC) #27
Pritam Nikam
vabr@chromium.org: Please review changes in chrome/renderer/autofill/password_autofill_agent_browsertest.cc Thanks!
5 years, 3 months ago (2015-09-18 14:11:41 UTC) #29
vabr (Chromium)
Hi Pritaim Nikam! Thank you and Vadym for your work on this. It looks good ...
5 years, 3 months ago (2015-09-18 14:41:38 UTC) #30
dvadym
Thanks Vaclav, good point about autocomplete attribute. I've checked code, in case when we have ...
5 years, 3 months ago (2015-09-18 15:59:00 UTC) #31
Pritam Nikam
Thanks Vaclav & Vadym for inputs. I've addressed these along new patch set, PTAL. Thanks! ...
5 years, 3 months ago (2015-09-21 10:51:17 UTC) #32
vabr (Chromium)
Hi Pritam Nikam! I think I need a bit more clarification (see the longer comment ...
5 years, 3 months ago (2015-09-23 11:23:24 UTC) #34
Pritam Nikam
Thanks Vaclav for review inputs. I've incorporated review comments along new patch set, ptal. Thanks! ...
5 years, 3 months ago (2015-09-24 12:10:41 UTC) #37
dvadym
Hi Pritam Nikam, LGTM with comments. Regards, Vadym https://codereview.chromium.org/1292693004/diff/400001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/1292693004/diff/400001/components/autofill/content/renderer/password_autofill_agent.cc#newcode107 components/autofill/content/renderer/password_autofill_agent.cc:107: bool ...
5 years, 3 months ago (2015-09-24 15:43:17 UTC) #38
Pritam Nikam
Thanks Vadym for inputs. I've incorporated these in new patch set, ptal. Thanks! https://codereview.chromium.org/1292693004/diff/400001/components/autofill/content/renderer/password_autofill_agent.cc File ...
5 years, 3 months ago (2015-09-25 07:39:11 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292693004/430001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292693004/430001
5 years, 3 months ago (2015-09-25 07:39:37 UTC) #42
dvadym
LGTM Thanks!
5 years, 2 months ago (2015-09-25 08:25:21 UTC) #43
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-09-25 08:48:54 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1292693004/430001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1292693004/430001
5 years, 2 months ago (2015-09-25 09:23:12 UTC) #48
commit-bot: I haz the power
Committed patchset #15 (id:430001)
5 years, 2 months ago (2015-09-25 09:28:14 UTC) #49
commit-bot: I haz the power
5 years, 2 months ago (2015-09-25 09:29:02 UTC) #50
Message was sent while issue was closed.
Patchset 15 (id:??) landed as
https://crrev.com/7e2a984f49a0511533f2aabbc2e4be5107a8bb91
Cr-Commit-Position: refs/heads/master@{#350795}

Powered by Google App Engine
This is Rietveld 408576698