Skip to main content
The Deno 2 Release Candidate is here
Learn more
Latest
interface SecurityPolicyViolationEvent
implements Event
import { type SecurityPolicyViolationEvent } from "https://deno.land/x/yxz@0.32.0/typing/lib.dom.ts";

Inherits from Event, and represents the event object of an event sent on a document or worker when its content security policy is violated.

Properties

readonly
blockedURI: string
readonly
columnNumber: number
readonly
documentURI: string
readonly
effectiveDirective: string
readonly
lineNumber: number
readonly
originalPolicy: string
readonly
referrer: string
readonly
sample: string
readonly
sourceFile: string
readonly
statusCode: number
readonly
violatedDirective: string