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 disposition: SecurityPolicyViolationEventDisposition;
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: {
prototype: SecurityPolicyViolationEvent;
new (type: string, eventInitDict?: SecurityPolicyViolationEventInit): SecurityPolicyViolationEvent;
};§Properties
§
readonly disposition: SecurityPolicyViolationEventDisposition
[src]