Liking cljdoc? Tell your friends :D

web.security.SecurityPolicyViolationEvent

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.
raw docstring

blocked-uricljs

(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`
sourceraw docstring

column-numbercljs

(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`
sourceraw docstring

constructorcljs

(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`
sourceraw docstring

dispositioncljs

(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`
sourceraw docstring

document-uricljs

(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`
sourceraw docstring

effective-directivecljs

(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`
sourceraw docstring

line-numbercljs

(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`
sourceraw docstring

original-policycljs

(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`
sourceraw docstring

referrercljs

(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`
sourceraw docstring

samplecljs

(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`
sourceraw docstring

source-filecljs

(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`
sourceraw docstring

status-codecljs

(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`
sourceraw docstring

violated-directivecljs

(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`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close