Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.SecurityPolicyViolationEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.SecurityPolicyViolationEvent
implements Event
import { type dom } from "https://deno.land/x/evt@v2.4.10/lib/types/index.ts";
const { SecurityPolicyViolationEvent } = dom;

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
sourceFile: string
readonly
statusCode: number
readonly
violatedDirective: string