pub trait WindowClientMethods<D>where
D: DomTypes,{
// Required methods
fn Focus(&self, cx: &mut JSContext) -> Rc<<D as DomTypes>::Promise>;
fn Navigate(
&self,
cx: &mut JSContext,
url: USVString,
) -> Rc<<D as DomTypes>::Promise>;
}