@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="SecurityPolicyViolationEvent")
public class SecurityPolicyViolationEvent
extends Event
AT_TARGET, BUBBLING_PHASE, cancelBubble, CAPTURING_PHASE, NONE, returnValue| Constructor and Description |
|---|
SecurityPolicyViolationEvent(java.lang.String type)
The SecurityPolicyViolationEvent constructor creates a new SecurityPolicyViolationEvent object instance.
|
SecurityPolicyViolationEvent(java.lang.String type,
SecurityPolicyViolationEventInit eventInitDict)
The SecurityPolicyViolationEvent constructor creates a new SecurityPolicyViolationEvent object instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
blockedURI()
The blockedURI read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the resource that was blocked because it violates a policy.
|
int |
columnNumber()
The columnNumber read-only property of the SecurityPolicyViolationEvent interface is the column number in the document or worker at which the violation occurred.
|
java.lang.String |
disposition()
The disposition read-only property of the SecurityPolicyViolationEvent interface indicates how the violated policy is configured to be treated by the user agent.
|
java.lang.String |
documentURI()
The documentURI read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the document or worker in which the violation was found.
|
java.lang.String |
effectiveDirective()
The effectiveDirective read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing the directive whose enforcement uncovered the violation.
|
int |
lineNumber()
The lineNumber read-only property of the SecurityPolicyViolationEvent interface is the line number in the document or worker at which the violation occurred.
|
java.lang.String |
originalPolicy()
The originalPolicy read-only property of the SecurityPolicyViolationEvent interface is a DOMString containing the policy whose enforcement uncovered the violation.
|
java.lang.String |
referrer()
The referrer read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the referrer of the resources whose policy was violated.
|
java.lang.String |
sample()
The sample read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing a sample of the resource that caused the violation.
|
java.lang.String |
sourceFile()
The sourceFile read-only property of the SecurityPolicyViolationEvent interface is a USVString representing the URI of the document or worker in which the violation was found.
|
int |
statusCode()
The statusCode read-only property of the SecurityPolicyViolationEvent interface is a number representing the HTTP status code of the document or worker in which the violation occurred.
|
java.lang.String |
violatedDirective()
The violatedDirective read-only property of the SecurityPolicyViolationEvent interface is a DOMString representing the directive whose enforcement uncovered the violation.
|
bubbles, cancelable, composed, composedPath, currentTarget, defaultPrevented, eventPhase, initEvent, initEvent, initEvent, isTrusted, preventDefault, srcElement, stopImmediatePropagation, stopPropagation, target, timeStamp, typeassign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, valueOf_, valuespublic SecurityPolicyViolationEvent(@Nonnull
java.lang.String type,
@Nonnull
SecurityPolicyViolationEventInit eventInitDict)
public SecurityPolicyViolationEvent(@Nonnull
java.lang.String type)
@JsProperty(name="blockedURI") @Nonnull public java.lang.String blockedURI()
@JsProperty(name="columnNumber") public int columnNumber()
@JsProperty(name="disposition") @Nonnull @SecurityPolicyViolationEventDisposition public java.lang.String disposition()
@JsProperty(name="documentURI") @Nonnull public java.lang.String documentURI()
@JsProperty(name="effectiveDirective") @Nonnull public java.lang.String effectiveDirective()
@JsProperty(name="lineNumber") public int lineNumber()
@JsProperty(name="originalPolicy") @Nonnull public java.lang.String originalPolicy()
@JsProperty(name="referrer") @Nonnull public java.lang.String referrer()
@JsProperty(name="sample") @Nonnull public java.lang.String sample()
@JsProperty(name="sourceFile") @Nonnull public java.lang.String sourceFile()
@JsProperty(name="statusCode") public int statusCode()
@JsProperty(name="violatedDirective") @Nonnull public java.lang.String violatedDirective()