Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SecurityPolicyViolationEvent

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

interface SecurityPolicyViolationEvent extends Event {
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;
}
var SecurityPolicyViolationEvent: {
new (type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;
}
;

§Extends

§Properties

§
readonly blockedURI: string
[src]
§
readonly columnNumber: number
[src]
§
readonly documentURI: string
[src]
§
readonly effectiveDirective: string
[src]
§
readonly lineNumber: number
[src]
§
readonly originalPolicy: string
[src]
§
readonly referrer: string
[src]
§
readonly sample: string
[src]
§
readonly sourceFile: string
[src]
§
readonly statusCode: number
[src]
§
readonly violatedDirective: string
[src]