DevTools security panel: explain subresources with cert errors separately
The browser process used to record subresources that were loaded with
certificate errors as mixed content. This meant that DevTools wasn't
able to distinguish mixed content (subresources loaded over HTTP) from
subresources loaded with certificate errors. On a page that loaded
subresources with certificate errors, DevTools would show the mixed
content explanation, which was confusing/inaccurate because it described
"HTTP resources".
The commits in
https://crbug.com/634171 created separate plumbing in the
browser process for subresources with certificate errors. This CL uses
that plumbing to distinguish these two cases for DevTools, and adds
separate bullets to the security panel when there are subresources with
cert errors on the page.
I have also renamed various instances of "insecure content" to "mixed
content" to be more precise: trying to use "insecure content" to mean
any type of insecure content, and "mixed content" to mean specifically
content loaded over HTTP on an HTTPS page. (There are still some more
places throughout Chrome that need to be cleaned up with this
terminology.)
(For subresources with cert errors, there is no link to the Network
panel with a filter like there is for mixed content; we can perhaps add
that later.)
BUG=
587172
Committed:
https://crrev.com/f61f3dfeb0af8a4b4d08b855689d73291dc31f8b
Cr-Commit-Position: refs/heads/master@{#415383}