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);
}