Security
Disables tracking security state changes.
Enables tracking security state changes.
Handles a certificate error that fired a certificateError event.
parameters
eventId
<integer> The ID of the eventaction
<Security.CertificateErrorAction> The action to take on the certificate error
Enable/disable overriding certificate errors. If enabled, all certificate error events need to be handled by the DevTools client and should be answered with handleCertificateError commands.
parameters
override
<boolean> If true, certificate errors will be overridden
There is a certificate error. If overriding certificate errors is enabled, then it should be handled with the handleCertificateError command. Note: this event does not fire if the certificate error has been allowed internally.
parameters
eventId
<integer> The ID of the eventerrorType
<string> The type of the errorrequestURL
<string> The url that was requested
The security state of the page changed.
parameters
securityState
<Security.SecurityState> Security stateschemeIsCryptographic
<boolean> True if the page was loaded over cryptographic transport such as HTTPSexplanations
<array of Security.SecurityStateExplanation> List of explanations for the security state. If the overall security state isinsecure
orwarning
, at least one corresponding explanation should be includedinsecureContentStatus
<Security.InsecureContentStatus> Information about insecure content on the page- optional
summary
<string> Overrides user-visible description of the state
An internal certificate ID value.
base type
- integer
property of type
A description of mixed content (HTTP resources on HTTPS pages), as defined by https://www.w3.org/TR/mixed-content/#categories
base type
- string
property of type
The security level of a page or resource.
base type
- string
property of type
parameter in event
An explanation of an factor contributing to the security state.
base type
- object
properties
securityState
<Security.SecurityState> Security state representing the severity of the factor being explainedsummary
<string> Short phrase describing the type of factordescription
<string> Full text explanation of the factormixedContentType
<Security.MixedContentType> The type of mixed content described by the explanationcertificate
<array of string> Page certificate
parameter in event
Information about insecure content on the page.
base type
- object
properties
ranMixedContent
<boolean> True if the page was loaded over HTTPS and ran mixed (HTTP) content such as scriptsdisplayedMixedContent
<boolean> True if the page was loaded over HTTPS and displayed mixed (HTTP) content such as imagescontainedMixedForm
<boolean> True if the page was loaded over HTTPS and contained a form targeting an insecure urlranContentWithCertErrors
<boolean> True if the page was loaded over HTTPS without certificate errors, and ran content such as scripts that were loaded with certificate errorsdisplayedContentWithCertErrors
<boolean> True if the page was loaded over HTTPS without certificate errors, and displayed content such as images that were loaded with certificate errorsranInsecureContentStyle
<Security.SecurityState> Security state representing a page that ran insecure contentdisplayedInsecureContentStyle
<Security.SecurityState> Security state representing a page that displayed insecure content
parameter in event
The action to take when a certificate error occurs. continue will continue processing the request and cancel will cancel the request.
base type
- string
accepted by command