CSPViolationType

@Serializable(with = CSPViolationTypeSerializer::class)
sealed interface CSPViolationType

CSP Violation type.

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = CSPViolationTypeSerializer::class)
data class NotDefinedInProtocol(val value: String) : CSPViolationType

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).

Link copied to clipboard
@Serializable(with = CSPViolationTypeSerializer::class)
data object trustedtypePolicyViolation : CSPViolationType
Link copied to clipboard
@Serializable(with = CSPViolationTypeSerializer::class)
data object trustedtypeSinkViolation : CSPViolationType