Domains Accessibility Animation ApplicationCache CSS CacheStorage Console DOM DOMDebugger DOMStorage Database Debugger DeviceOrientation Emulation FileSystem HeapProfiler IndexedDB Input Inspector LayerTree Memory Network Page Power Profiler Rendering Runtime ScreenOrientation Security ServiceWorker Timeline Tracing Worker
Chrome Debugger Protocol Viewer

Security Domain

Security

Methods

enable

Enables tracking security state changes.

disable

Disables tracking security state changes.

Events

securityStateChanged

The security state of the page changed.

Parameters
securityState
SecurityState Security state.
explanations
array [ SecurityStateExplanation ] List of explanations for the security state. If the overall security state is `insecure` or `warning`, at least one corresponding explanation should be included.
mixedContentStatus
MixedContentStatus Information about mixed content on the page.
schemeIsCryptographic
boolean True if the page was loaded over cryptographic transport such as HTTPS.

Types

SecurityState

The security level of a page or resource.

Type: string

Allowed values

unknown, neutral, insecure, warning, secure.

SecurityStateExplanation

An explanation of an factor contributing to the security state.

Type: object

Properties
securityState
SecurityState Security state representing the severity of the factor being explained.
summary
string Short phrase describing the type of factor.
description
string Full text explanation of the factor.
certificateId
Network.CertificateId Associated certificate id.

MixedContentStatus

Information about mixed content on the page.

Type: object

Properties
ranInsecureContent
boolean True if the page ran insecure content such as scripts.
displayedInsecureContent
boolean True if the page displayed insecure content such as images.
ranInsecureContentStyle
SecurityState Security state representing a page that ran insecure content.
displayedInsecureContentStyle
SecurityState Security state representing a page that displayed insecure content.