pub trait ExtendableMessageEventMethods {
    // Required methods
    fn Data(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
    fn Origin(&self) -> DOMString;
    fn LastEventId(&self) -> DOMString;
    fn Ports(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>);
    fn IsTrusted(&self) -> bool;
    fn Constructor(
        global: &ServiceWorkerGlobalScope,
        proto: Option<HandleObject<'_>>,
        can_gc: CanGc,
        type_: DOMString,
        eventInitDict: RootedTraceableBox<ExtendableMessageEventInit>,
    ) -> Result<Root<Dom<ExtendableMessageEvent>>, Error>;
}

Required Methods§

Object Safety§

This trait is not object safe.

Implementors§