pub(crate) trait DissimilarOriginWindowMethods<D: DomTypes> {
Show 15 methods // Required methods fn Window(&self) -> DomRoot<D::WindowProxy>; fn Self_(&self) -> DomRoot<D::WindowProxy>; fn GetParent(&self) -> Option<DomRoot<D::WindowProxy>>; fn GetTop(&self) -> Option<DomRoot<D::WindowProxy>>; fn Frames(&self) -> DomRoot<D::WindowProxy>; fn Length(&self) -> u32; fn Location(&self) -> DomRoot<D::DissimilarOriginLocation>; fn Close(&self); fn Closed(&self) -> bool; fn PostMessage( &self, cx: SafeJSContext, message: HandleValue<'_>, targetOrigin: USVString, transfer: CustomAutoRooterGuard<'_, Vec<*mut JSObject>>, ) -> Fallible<()>; fn PostMessage_( &self, cx: SafeJSContext, message: HandleValue<'_>, options: RootedTraceableBox<WindowPostMessageOptions>, ) -> Fallible<()>; fn Opener(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>); fn SetOpener(&self, cx: SafeJSContext, value: HandleValue<'_>); fn Blur(&self); fn Focus(&self);
}

Required Methods§

Source

fn Window(&self) -> DomRoot<D::WindowProxy>

Source

fn Self_(&self) -> DomRoot<D::WindowProxy>

Source

fn GetParent(&self) -> Option<DomRoot<D::WindowProxy>>

Source

fn GetTop(&self) -> Option<DomRoot<D::WindowProxy>>

Source

fn Frames(&self) -> DomRoot<D::WindowProxy>

Source

fn Length(&self) -> u32

Source

fn Location(&self) -> DomRoot<D::DissimilarOriginLocation>

Source

fn Close(&self)

Source

fn Closed(&self) -> bool

Source

fn PostMessage( &self, cx: SafeJSContext, message: HandleValue<'_>, targetOrigin: USVString, transfer: CustomAutoRooterGuard<'_, Vec<*mut JSObject>>, ) -> Fallible<()>

Source

fn PostMessage_( &self, cx: SafeJSContext, message: HandleValue<'_>, options: RootedTraceableBox<WindowPostMessageOptions>, ) -> Fallible<()>

Source

fn Opener(&self, cx: SafeJSContext, retval: MutableHandleValue<'_>)

Source

fn SetOpener(&self, cx: SafeJSContext, value: HandleValue<'_>)

Source

fn Blur(&self)

Source

fn Focus(&self)

Implementors§