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