Chromium Code Reviews
DescriptionNotify SSLManager when all password fields on a page are gone
For HTTP-bad phase 1 (https://crbug.com/647754), a "Not secure" warning
in the omnibox should show up when a password field is visible on an
HTTP page, and disappear when all password fields are gone.
This CL adds a WebContentsObserver to ContentPasswordManagerDriver which
keeps track of frames in the current page that have visible password
fields. When all frames' password fields have been hidden, the observer
notifies the WebContents, which notifies the SSLManager, which removes
the relevant flag from the SSLStatus.
This is based on top of https://codereview.chromium.org/2468833002/,
which sends a Mojo IPC from Blink whenever a frame's password fields are
all hidden.
BUG=658764
Committed: https://crrev.com/fae6b587d9fc7a0f04dad715173aaadcc31968de
Cr-Commit-Position: refs/heads/master@{#429793}
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : tests and cleanup #
Total comments: 13
Patch Set 4 : vabr comments #Patch Set 5 : tweak SSLManager comment #Depends on Patchset: Messages
Total messages: 28 (14 generated)
|