Chromium Code Reviews
DescriptionInform 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 #
Messages
Total messages: 18 (11 generated)
|
|||||||||||||||||||||||||||||||||||||