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

Issue 1428283002: Fix of password autofilling on hidden passwords forms. (Closed)

Created:
5 years, 1 month ago by dvadym
Modified:
5 years, 1 month ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, rouslan+autofill_chromium.org, jam, vabr+watchlist_chromium.org, 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, 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

Fix of password autofilling on hidden passwords forms. On CL https://codereview.chromium.org/1408423003/ it was implemented that hidden password fields are not taken into consideration. But it breaks sites on which password form is hidden initially and when the user clicks sign-in the form appear. The best solution seems to be to consider hidden passwords fields but visible password field should have priority BUG=551461 Committed: https://crrev.com/59e5da4aef356c4ece1cb3a3e4320c633eb99b2a Cr-Commit-Position: refs/heads/master@{#358078}

Patch Set 1 #

Patch Set 2 : Tests added #

Patch Set 3 : Tiny fix #

Total comments: 11

Patch Set 4 : Addressed comments #

Patch Set 5 : Incorrect upload fix #

Total comments: 2

Patch Set 6 : Comment fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -15 lines) Patch
M chrome/browser/password_manager/password_manager_browsertest.cc View 1 2 3 4 5 4 chunks +54 lines, -4 lines 0 comments Download
M chrome/test/data/password/password_form.html View 1 1 chunk +10 lines, -3 lines 0 comments Download
M components/autofill/content/renderer/password_autofill_agent.cc View 1 2 4 2 chunks +7 lines, -7 lines 0 comments Download
M components/autofill/content/renderer/password_form_conversion_utils.cc View 4 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 13 (4 generated)
dvadym
Hi Vaclav, Could you please review this CL? Regards, Vadym
5 years, 1 month ago (2015-11-05 14:11:44 UTC) #2
vabr (Chromium)
LGTM with comments. Cheers, Vaclav https://codereview.chromium.org/1428283002/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1428283002/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2649 chrome/browser/password_manager/password_manager_browsertest.cc:2649: // Test whether the ...
5 years, 1 month ago (2015-11-05 15:20:25 UTC) #5
dvadym
Thanks Vaclav review. I've addressed your comments PTAL. https://codereview.chromium.org/1428283002/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1428283002/diff/40001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2649 chrome/browser/password_manager/password_manager_browsertest.cc:2649: // ...
5 years, 1 month ago (2015-11-05 16:18:26 UTC) #6
vabr (Chromium)
Thanks! LGTM with a nit. Cheers, Vaclav https://codereview.chromium.org/1428283002/diff/40001/components/autofill/content/renderer/password_autofill_agent.cc File components/autofill/content/renderer/password_autofill_agent.cc (right): https://codereview.chromium.org/1428283002/diff/40001/components/autofill/content/renderer/password_autofill_agent.cc#newcode201 components/autofill/content/renderer/password_autofill_agent.cc:201: if (!form_util::IsWebNodeVisible((*result)[field_name])) ...
5 years, 1 month ago (2015-11-05 16:29:46 UTC) #7
dvadym
Thanks Vaclav! https://codereview.chromium.org/1428283002/diff/80001/chrome/browser/password_manager/password_manager_browsertest.cc File chrome/browser/password_manager/password_manager_browsertest.cc (right): https://codereview.chromium.org/1428283002/diff/80001/chrome/browser/password_manager/password_manager_browsertest.cc#newcode2558 chrome/browser/password_manager/password_manager_browsertest.cc:2558: // This test has difference from AutofillSuggetionsForProblematicPasswordForm ...
5 years, 1 month ago (2015-11-05 16:51:28 UTC) #8
vabr (Chromium)
lgtm
5 years, 1 month ago (2015-11-05 16:55:45 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428283002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428283002/100001
5 years, 1 month ago (2015-11-05 17:04:17 UTC) #11
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-11-05 17:59:33 UTC) #12
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 18:00:11 UTC) #13
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/59e5da4aef356c4ece1cb3a3e4320c633eb99b2a
Cr-Commit-Position: refs/heads/master@{#358078}

Powered by Google App Engine
This is Rietveld 408576698