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.
The blockedURI read-only property of the web.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. The blockedURI read-only property of the `web.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.
The columnNumber read-only property of the web.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. The columnNumber read-only property of the `web.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.
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.
The disposition read-only property of the web.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. The disposition read-only property of the `web.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.
The documentURI read-only property of the web.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. The documentURI read-only property of the `web.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.
The effectiveDirective read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The effectiveDirective read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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.
The lineNumber read-only property of the web.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. The lineNumber read-only property of the `web.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.
The originalPolicy read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The originalPolicy read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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.
The referrer read-only property of the web.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. The referrer read-only property of the `web.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.
The sample read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The sample read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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`
(set-blocked-uri! this val)
Property.
The blockedURI read-only property of the web.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. The blockedURI read-only property of the `web.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`
(set-column-number! this val)
Property.
The columnNumber read-only property of the web.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. The columnNumber read-only property of the `web.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`
(set-disposition! this val)
Property.
The disposition read-only property of the web.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. The disposition read-only property of the `web.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`
(set-document-uri! this val)
Property.
The documentURI read-only property of the web.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. The documentURI read-only property of the `web.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`
(set-effective-directive! this val)
Property.
The effectiveDirective read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The effectiveDirective read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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`
(set-line-number! this val)
Property.
The lineNumber read-only property of the web.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. The lineNumber read-only property of the `web.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`
(set-original-policy! this val)
Property.
The originalPolicy read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The originalPolicy read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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`
(set-referrer! this val)
Property.
The referrer read-only property of the web.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. The referrer read-only property of the `web.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`
(set-sample! this val)
Property.
The sample read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The sample read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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`
(set-source-file! this val)
Property.
The sourceFile read-only property of the web.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. The sourceFile read-only property of the `web.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`
(set-status-code! this val)
Property.
The statusCode read-only property of the web.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. The statusCode read-only property of the `web.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`
(set-violated-directive! this val)
Property.
The violatedDirective read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The violatedDirective read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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`
(source-file this)
Property.
The sourceFile read-only property of the web.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. The sourceFile read-only property of the `web.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.
The statusCode read-only property of the web.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. The statusCode read-only property of the `web.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.
The violatedDirective read-only property of the web.SecurityPolicyViolationEvent
is a dom.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. The violatedDirective read-only property of the `web.SecurityPolicyViolationEvent` is a `dom.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