The SecurityPolicyViolationEvent interface inherits from web.Event
,
represents the event object of an event sent on a document or
when its content security policy is violated.
The SecurityPolicyViolationEvent interface inherits from `web.Event`, represents the event object of an event sent on a document or when its content security policy is violated.
(blocked-uri this)
Property.
[Read Only] [Experimental]
The blockedURI read-only property of the web.security.SecurityPolicyViolationEvent
is a web.USVString
representing the URI of the resource that
blocked because it violates a policy.
let blockedURI = violationEventInstance.blockedURI;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/blockedURI
Property. [Read Only] [Experimental] The blockedURI read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.USVString` representing the URI of the resource that blocked because it violates a policy. `let blockedURI = violationEventInstance.blockedURI;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/blockedURI`
(column-number this)
Property.
[Read Only] [Experimental]
The columnNumber read-only property of the web.security.SecurityPolicyViolationEvent
is the column number in the document or worker at which the violation
let colNum = violationEventInstance.columnNumber;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/columnNumber
Property. [Read Only] [Experimental] The columnNumber read-only property of the `web.security.SecurityPolicyViolationEvent` is the column number in the document or worker at which the violation `let colNum = violationEventInstance.columnNumber;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/columnNumber`
(constructor & args)
Constructor.
The SecurityPolicyViolationEvent constructor creates a new SecurityPolicyViolationEvent object instance.
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent
Constructor. The SecurityPolicyViolationEvent constructor creates a new SecurityPolicyViolationEvent object instance. See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/SecurityPolicyViolationEvent`
(disposition this)
Property.
[Read Only] [Experimental]
The disposition read-only property of the web.security.SecurityPolicyViolationEvent
indicates how the violated policy is configured to be treated
the user agent.
let disposition = violationEventInstance.disposition;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/disposition
Property. [Read Only] [Experimental] The disposition read-only property of the `web.security.SecurityPolicyViolationEvent` indicates how the violated policy is configured to be treated the user agent. `let disposition = violationEventInstance.disposition;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/disposition`
(document-uri this)
Property.
[Read Only] [Experimental]
The documentURI read-only property of the web.security.SecurityPolicyViolationEvent
is a web.USVString
representing the URI of the document or
in which the violation was found.
let documentURI = violationEventInstance.documentURI;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/documentURI
Property. [Read Only] [Experimental] The documentURI read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.USVString` representing the URI of the document or in which the violation was found. `let documentURI = violationEventInstance.documentURI;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/documentURI`
(effective-directive this)
Property.
[Read Only] [Experimental]
The effectiveDirective read-only property of the web.security.SecurityPolicyViolationEvent
is a web.DOMString
representing the directive whose enforcement
the violation.
let effDir = violationEventInstance.effectiveDirective;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/effectiveDirective
Property. [Read Only] [Experimental] The effectiveDirective read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.DOMString` representing the directive whose enforcement the violation. `let effDir = violationEventInstance.effectiveDirective;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/effectiveDirective`
(line-number this)
Property.
[Read Only] [Experimental]
The lineNumber read-only property of the web.security.SecurityPolicyViolationEvent
is the line number in the document or worker at which the violation
let lineNumber = violationEventInstance.lineNumber;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/lineNumber
Property. [Read Only] [Experimental] The lineNumber read-only property of the `web.security.SecurityPolicyViolationEvent` is the line number in the document or worker at which the violation `let lineNumber = violationEventInstance.lineNumber;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/lineNumber`
(original-policy this)
Property.
[Read Only] [Experimental]
The originalPolicy read-only property of the web.security.SecurityPolicyViolationEvent
is a web.DOMString
containing the policy whose enforcement
the violation.
let origPolicy = violationEventInstance.originalPolicy;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/originalPolicy
Property. [Read Only] [Experimental] The originalPolicy read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.DOMString` containing the policy whose enforcement the violation. `let origPolicy = violationEventInstance.originalPolicy;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/originalPolicy`
(referrer this)
Property.
[Read Only] [Experimental]
The referrer read-only property of the web.security.SecurityPolicyViolationEvent
is a web.USVString
representing the referrer of the resources
policy was violated. This will be a URL or null.
let referrer = violationEventInstance.referrer;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/referrer
Property. [Read Only] [Experimental] The referrer read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.USVString` representing the referrer of the resources policy was violated. This will be a URL or null. `let referrer = violationEventInstance.referrer;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/referrer`
(sample this)
Property.
[Read Only] [Experimental]
The sample read-only property of the web.security.SecurityPolicyViolationEvent
is a web.DOMString
representing a sample of the resource that
the violation.
let sample = violationEventInstance.sample;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sample
Property. [Read Only] [Experimental] The sample read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.DOMString` representing a sample of the resource that the violation. `let sample = violationEventInstance.sample;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sample`
(source-file this)
Property.
[Read Only] [Experimental]
The sourceFile read-only property of the web.security.SecurityPolicyViolationEvent
is a web.USVString
representing the URI of the document or
in which the violation was found.
let source = violationEventInstance.sourceFile;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sourceFile
Property. [Read Only] [Experimental] The sourceFile read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.USVString` representing the URI of the document or in which the violation was found. `let source = violationEventInstance.sourceFile;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/sourceFile`
(status-code this)
Property.
[Read Only] [Experimental]
The statusCode read-only property of the web.security.SecurityPolicyViolationEvent
is a number representing the HTTP status code of the document
worker in which the violation occurred.
let status = violationEventInstance.statusCode;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/statusCode
Property. [Read Only] [Experimental] The statusCode read-only property of the `web.security.SecurityPolicyViolationEvent` is a number representing the HTTP status code of the document worker in which the violation occurred. `let status = violationEventInstance.statusCode;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/statusCode`
(violated-directive this)
Property.
[Read Only] [Experimental]
The violatedDirective read-only property of the web.security.SecurityPolicyViolationEvent
is a web.DOMString
representing the directive whose enforcement
the violation.
let violatedDir = violationEventInstance.violatedDirective;
See also: https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/violatedDirective
Property. [Read Only] [Experimental] The violatedDirective read-only property of the `web.security.SecurityPolicyViolationEvent` is a `web.DOMString` representing the directive whose enforcement the violation. `let violatedDir = violationEventInstance.violatedDirective;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/SecurityPolicyViolationEvent/violatedDirective`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close