SecurityDomain

Functions

Link copied to clipboard
Link copied to clipboard

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. Only one client per target should override certificate errors at the same time.

Link copied to clipboard
suspend fun disable(): DisableResponse

Disables tracking security state changes.

Link copied to clipboard
suspend fun enable(): EnableResponse

Enables tracking security state changes.

Link copied to clipboard
fun events(): Flow<SecurityEvent>

Subscribes to all events related to this domain.

Link copied to clipboard

Handles a certificate error that fired a certificateError event.

Link copied to clipboard

The security state of the page changed. No longer being sent.

Link copied to clipboard

Enable/disable whether all certificate errors should be ignored.

Link copied to clipboard

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.

Link copied to clipboard

The security state of the page changed.