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

Issue 2414913003: Inform WebContents when a password field is visible (Closed)

Created:
4 years, 2 months ago by estark
Modified:
4 years, 2 months ago
Reviewers:
vabr (Chromium)
CC:
chromium-reviews, jam, gcasto+watchlist_chromium.org, darin-cc_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Inform WebContents when a password field is visible Previously, ContentPasswordManagerDriver was notifying the WebContents whenever a password field was parsed. Instead, we want to notify the WebContents whenever a password field becomes visible. This CL moves the WebContents notification from PasswordFormsParsed() to PasswordFieldVisibleInInsecureContext(). BUG=647560 TEST=New unit test checks that ContentPasswordManagerDriver correctly passes the password visibility notification to the WebContents. Pre-existing browser tests in chrome_security_state_model_client_browsertest.cc check that everything is hooked up correctly (i.e. when Blink sends a password visibility message, it is received by ContentPasswordManagerDriver, passed on to the WebContents, which records it on the SSLStatus). Committed: https://crrev.com/98182cd39250bf946e34c5da63eaf4d5afcd77af Cr-Commit-Position: refs/heads/master@{#425046}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -13 lines) Patch
M chrome/browser/ssl/chrome_security_state_model_client_browser_tests.cc View 2 chunks +5 lines, -9 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver.cc View 2 chunks +1 line, -4 lines 0 comments Download
M components/password_manager/content/browser/content_password_manager_driver_unittest.cc View 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (11 generated)
estark
engedy, could you please review? This is a follow-up to https://codereview.chromium.org/2362523003/. Thanks!
4 years, 2 months ago (2016-10-13 00:16:37 UTC) #4
vabr (Chromium)
LGTM! Vaclav
4 years, 2 months ago (2016-10-13 09:11:40 UTC) #8
engedy
On 2016/10/13 09:11:40, vabr (Chromium) wrote: > LGTM! > Vaclav If it looks good to ...
4 years, 2 months ago (2016-10-13 12:48:15 UTC) #11
estark
Thanks, vabr and engedy!
4 years, 2 months ago (2016-10-13 15:48:21 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2414913003/1
4 years, 2 months ago (2016-10-13 15:48:53 UTC) #14
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 2 months ago (2016-10-13 15:55:33 UTC) #16
commit-bot: I haz the power
4 years, 2 months ago (2016-10-13 15:57:48 UTC) #18
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/98182cd39250bf946e34c5da63eaf4d5afcd77af
Cr-Commit-Position: refs/heads/master@{#425046}

Powered by Google App Engine
This is Rietveld 408576698