Trait script::dom::bindings::codegen::Bindings::SecurityPolicyViolationEventBinding::SecurityPolicyViolationEvent_Binding::SecurityPolicyViolationEventMethods
source · pub trait SecurityPolicyViolationEventMethods<D: DomTypes> {
Show 14 methods
// Required methods
fn DocumentURI(&self) -> USVString;
fn Referrer(&self) -> USVString;
fn BlockedURI(&self) -> USVString;
fn EffectiveDirective(&self) -> DOMString;
fn ViolatedDirective(&self) -> DOMString;
fn OriginalPolicy(&self) -> DOMString;
fn SourceFile(&self) -> USVString;
fn Sample(&self) -> DOMString;
fn Disposition(&self) -> SecurityPolicyViolationEventDisposition;
fn StatusCode(&self) -> u16;
fn LineNumber(&self) -> u32;
fn ColumnNumber(&self) -> u32;
fn IsTrusted(&self) -> bool;
fn Constructor(
global: &GlobalScope,
proto: Option<HandleObject<'_>>,
can_gc: CanGc,
type_: DOMString,
eventInitDict: &SecurityPolicyViolationEventInit,
) -> Root<Dom<SecurityPolicyViolationEvent>>;
}
Required Methods§
fn DocumentURI(&self) -> USVString
fn Referrer(&self) -> USVString
fn BlockedURI(&self) -> USVString
fn EffectiveDirective(&self) -> DOMString
fn ViolatedDirective(&self) -> DOMString
fn OriginalPolicy(&self) -> DOMString
fn SourceFile(&self) -> USVString
fn Sample(&self) -> DOMString
fn Disposition(&self) -> SecurityPolicyViolationEventDisposition
fn StatusCode(&self) -> u16
fn LineNumber(&self) -> u32
fn ColumnNumber(&self) -> u32
fn IsTrusted(&self) -> bool
fn Constructor( global: &GlobalScope, proto: Option<HandleObject<'_>>, can_gc: CanGc, type_: DOMString, eventInitDict: &SecurityPolicyViolationEventInit, ) -> Root<Dom<SecurityPolicyViolationEvent>>
Object Safety§
This trait is not object safe.