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

Issue 1408423003: [Password Manager] Ignore autofilling invisible password fields. (Closed)

Created:
5 years, 2 months ago by Pritam Nikam
Modified:
5 years, 2 months ago
Reviewers:
vabr (Chromium), dvadym
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] Ignore autofilling invisible password fields. At present, password manager does not distinguish invisible fields while (auto)filled. Forms having multiple password fields with some marked as hidden, autofill may fail. With this patch password manager detects that the problematic password field is invisible and ignores it. BUG=543303 TEST=PasswordManagerBrowserTestBase .AutofillSuggetionsForProblematicPasswordForm PasswordManagerBrowserTestBase .AutofillSuggetionsForProblematicAmbiguousPasswordForm Committed: https://crrev.com/e4f684a0db8e88d2df12e163f60064f94a0ff876 Cr-Commit-Position: refs/heads/master@{#355527}

Patch Set 1 #

Patch Set 2 : Added browser tests. #

Patch Set 3 : Added more handling. #

Total comments: 10

Patch Set 4 : Addresses Vaclav's inputs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+117 lines, -0 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 1 chunk +94 lines, -0 lines 0 comments Download
M chrome/test/data/password/ambiguous_password_form.html View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/test/data/password/password_form.html View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
Pritam Nikam
Hi Vaclav & Vadym, This patch is experimental & based on 2nd option mentioned here ...
5 years, 2 months ago (2015-10-19 14:12:31 UTC) #4
vabr (Chromium)
Thanks, Pritam Nikam, This LGTM once you address my comments. Cheers, Vaclav https://codereview.chromium.org/1408423003/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc ...
5 years, 2 months ago (2015-10-20 16:40:23 UTC) #5
Pritam Nikam
Thanks Vaclav for review. I've incorporated review comments in new patch set. Please have a ...
5 years, 2 months ago (2015-10-22 09:00:08 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408423003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408423003/60001
5 years, 2 months ago (2015-10-22 11:05:14 UTC) #8
vabr (Chromium)
LGTM, thanks for addressing the comments! Vaclav
5 years, 2 months ago (2015-10-22 11:24:10 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-22 12:32:12 UTC) #11
Pritam Nikam
On 2015/10/22 11:24:10, vabr (Chromium) wrote: > LGTM, thanks for addressing the comments! > Vaclav ...
5 years, 2 months ago (2015-10-22 12:33:44 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408423003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408423003/60001
5 years, 2 months ago (2015-10-22 12:33:53 UTC) #14
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 2 months ago (2015-10-22 12:37:41 UTC) #15
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 12:38:43 UTC) #16
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e4f684a0db8e88d2df12e163f60064f94a0ff876
Cr-Commit-Position: refs/heads/master@{#355527}

Powered by Google App Engine
This is Rietveld 408576698