pub trait DocumentMethods<D>where
D: DomTypes,{
Show 298 methods
// Required methods
fn Implementation(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::DOMImplementation>>;
fn URL(&self) -> USVString;
fn DocumentURI(&self) -> USVString;
fn CompatMode(&self) -> DOMString;
fn CharacterSet(&self) -> DOMString;
fn Charset(&self) -> DOMString;
fn InputEncoding(&self) -> DOMString;
fn ContentType(&self) -> DOMString;
fn GetDoctype(&self) -> Option<Root<Dom<<D as DomTypes>::DocumentType>>>;
fn GetDocumentElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn GetElementsByTagName(
&self,
cx: &mut JSContext,
qualifiedName: DOMString,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn GetElementsByTagNameNS(
&self,
cx: &mut JSContext,
namespace: Option<DOMString>,
qualifiedName: DOMString,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn GetElementsByClassName(
&self,
cx: &mut JSContext,
classNames: DOMString,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn CreateElement(
&self,
cx: &mut JSContext,
localName: DOMString,
options: StringOrElementCreationOptions,
) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>;
fn CreateElementNS(
&self,
cx: &mut JSContext,
namespace: Option<DOMString>,
qualifiedName: DOMString,
options: StringOrElementCreationOptions,
) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>;
fn CreateDocumentFragment(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::DocumentFragment>>;
fn CreateTextNode(
&self,
cx: &mut JSContext,
data: DOMString,
) -> Root<Dom<<D as DomTypes>::Text>>;
fn CreateCDATASection(
&self,
cx: &mut JSContext,
data: DOMString,
) -> Result<Root<Dom<<D as DomTypes>::CDATASection>>, Error>;
fn CreateComment(
&self,
cx: &mut JSContext,
data: DOMString,
) -> Root<Dom<<D as DomTypes>::Comment>>;
fn CreateProcessingInstruction(
&self,
cx: &mut JSContext,
target: DOMString,
data: DOMString,
) -> Result<Root<Dom<<D as DomTypes>::ProcessingInstruction>>, Error>;
fn ImportNode(
&self,
cx: &mut JSContext,
node: &<D as DomTypes>::Node,
options: BooleanOrImportNodeOptions<D>,
) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>;
fn AdoptNode(
&self,
cx: &mut JSContext,
node: &<D as DomTypes>::Node,
) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>;
fn CreateAttribute(
&self,
cx: &mut JSContext,
localName: DOMString,
) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>;
fn CreateAttributeNS(
&self,
cx: &mut JSContext,
namespace: Option<DOMString>,
qualifiedName: DOMString,
) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>;
fn CreateEvent(
&self,
cx: &mut JSContext,
interface_: DOMString,
) -> Result<Root<Dom<<D as DomTypes>::Event>>, Error>;
fn CreateRange(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::Range>>;
fn CreateNodeIterator(
&self,
root: &<D as DomTypes>::Node,
whatToShow: u32,
filter: Option<Rc<NodeFilter<D>>>,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::NodeIterator>>;
fn CreateTreeWalker(
&self,
root: &<D as DomTypes>::Node,
whatToShow: u32,
filter: Option<Rc<NodeFilter<D>>>,
) -> Root<Dom<<D as DomTypes>::TreeWalker>>;
fn ParseHTMLUnsafe(
cx: &mut JSContext,
global: &<D as DomTypes>::Window,
html: TrustedHTMLOrString<D>,
) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>;
fn GetLocation(
&self,
cx: &mut JSContext,
) -> Option<Root<Dom<<D as DomTypes>::Location>>>;
fn Domain(&self) -> DOMString;
fn SetDomain(&self, value: DOMString) -> Result<(), Error>;
fn Referrer(&self) -> DOMString;
fn GetCookie(&self) -> Result<DOMString, Error>;
fn SetCookie(&self, value: DOMString) -> Result<(), Error>;
fn LastModified(&self) -> DOMString;
fn ReadyState(&self) -> DocumentReadyState;
fn Title(&self) -> DOMString;
fn SetTitle(&self, cx: &mut JSContext, value: DOMString);
fn GetBody(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLElement>>>;
fn SetBody(
&self,
cx: &mut JSContext,
value: Option<&<D as DomTypes>::HTMLElement>,
) -> Result<(), Error>;
fn GetHead(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLHeadElement>>>;
fn Images(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Embeds(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Plugins(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Links(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Forms(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Scripts(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn GetElementsByName(
&self,
elementName: DOMString,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::NodeList>>;
fn GetCurrentScript(
&self,
) -> Option<Root<Dom<<D as DomTypes>::HTMLScriptElement>>>;
fn Open(
&self,
cx: &mut JSContext,
unused1: Option<DOMString>,
unused2: Option<DOMString>,
) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>;
fn Open_(
&self,
cx: &mut JSContext,
url: USVString,
name: DOMString,
features: DOMString,
) -> Result<Option<Root<Dom<<D as DomTypes>::WindowProxy>>>, Error>;
fn Close(&self, cx: &mut JSContext) -> Result<(), Error>;
fn Write(
&self,
cx: &mut JSContext,
text: Vec<TrustedHTMLOrString<D>>,
) -> Result<(), Error>;
fn Writeln(
&self,
cx: &mut JSContext,
text: Vec<TrustedHTMLOrString<D>>,
) -> Result<(), Error>;
fn GetDefaultView(&self) -> Option<Root<Dom<<D as DomTypes>::Window>>>;
fn HasFocus(&self) -> bool;
fn ExecCommand(
&self,
cx: &mut JSContext,
commandId: DOMString,
showUI: bool,
value: TrustedHTMLOrString<D>,
) -> Result<bool, Error>;
fn QueryCommandEnabled(
&self,
cx: &mut JSContext,
commandId: DOMString,
) -> bool;
fn QueryCommandIndeterm(&self, commandId: DOMString) -> bool;
fn QueryCommandState(
&self,
cx: &mut JSContext,
commandId: DOMString,
) -> bool;
fn QueryCommandSupported(&self, commandId: DOMString) -> bool;
fn QueryCommandValue(
&self,
cx: &mut JSContext,
commandId: DOMString,
) -> DOMString;
fn Hidden(&self) -> bool;
fn VisibilityState(&self) -> DocumentVisibilityState;
fn GetOnreadystatechange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnreadystatechange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn FgColor(&self) -> DOMString;
fn SetFgColor(&self, value: DOMString, _can_gc: CanGc);
fn BgColor(&self) -> DOMString;
fn SetBgColor(&self, value: DOMString, _can_gc: CanGc);
fn Anchors(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Applets(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Clear(&self);
fn CaptureEvents(&self);
fn ReleaseEvents(&self);
fn FullscreenEnabled(&self) -> bool;
fn Fullscreen(&self) -> bool;
fn ExitFullscreen(&self, _can_gc: CanGc) -> Rc<<D as DomTypes>::Promise>;
fn GetOnfullscreenchange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnfullscreenchange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnfullscreenerror(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnfullscreenerror(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetScrollingElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn GetSelection(
&self,
cx: &mut JSContext,
) -> Option<Root<Dom<<D as DomTypes>::Selection>>>;
fn Timeline(&self) -> Root<Dom<<D as DomTypes>::DocumentTimeline>>;
fn ServoGetMediaControls(
&self,
id: DOMString,
) -> Result<Root<Dom<<D as DomTypes>::ShadowRoot>>, Error>;
fn ElementFromPoint(
&self,
x: Finite<f64>,
y: Finite<f64>,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn ElementsFromPoint(
&self,
x: Finite<f64>,
y: Finite<f64>,
) -> Vec<Root<Dom<<D as DomTypes>::Element>>>;
fn GetActiveElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn StyleSheets(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::StyleSheetList>>;
fn AdoptedStyleSheets(
&self,
cx: JSContext,
_can_gc: CanGc,
retval: MutableHandle<'_, Value>,
);
fn SetAdoptedStyleSheets(
&self,
cx: JSContext,
value: Handle<'_, Value>,
_can_gc: CanGc,
) -> Result<(), Error>;
fn GetFullscreenElement(
&self,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn Fonts(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::FontFaceSet>>;
fn GetOnabort(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnabort(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnauxclick(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnauxclick(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnbeforeinput(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnbeforeinput(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnbeforematch(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnbeforematch(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnbeforetoggle(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnbeforetoggle(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnblur(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnblur(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncancel(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncancel(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncanplay(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncanplay(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncanplaythrough(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncanplaythrough(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnchange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnchange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnclick(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnclick(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnclose(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnclose(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncommand(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncommand(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncontextlost(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncontextlost(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncontextmenu(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncontextmenu(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncontextrestored(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncontextrestored(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncopy(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncopy(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncuechange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncuechange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOncut(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncut(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndblclick(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndblclick(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndrag(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndrag(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndragend(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragend(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndragenter(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragenter(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndragleave(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragleave(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndragover(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragover(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndragstart(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragstart(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndrop(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndrop(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOndurationchange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndurationchange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnemptied(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnemptied(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnended(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnended(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnerror(
&self,
cx: &mut JSContext,
) -> Option<Rc<OnErrorEventHandlerNonNull<D>>>;
fn SetOnerror(
&self,
cx: &mut JSContext,
value: Option<Rc<OnErrorEventHandlerNonNull<D>>>,
);
fn GetOnfocus(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnfocus(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnformdata(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnformdata(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOninput(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOninput(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOninvalid(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOninvalid(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnkeydown(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnkeydown(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnkeypress(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnkeypress(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnkeyup(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnkeyup(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnload(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnload(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnloadeddata(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnloadeddata(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnloadedmetadata(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnloadedmetadata(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnloadstart(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnloadstart(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnmousedown(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmousedown(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnmouseenter(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseenter(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnmouseleave(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseleave(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnmousemove(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmousemove(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnmouseout(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseout(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnmouseover(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseover(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnmouseup(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseup(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpaste(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpaste(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpause(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpause(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnplay(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnplay(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnplaying(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnplaying(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnprogress(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnprogress(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnratechange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnratechange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnreset(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnreset(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnresize(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnresize(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnscroll(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnscroll(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnscrollend(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnscrollend(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnsecuritypolicyviolation(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnsecuritypolicyviolation(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnseeked(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnseeked(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnseeking(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnseeking(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnselect(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnselect(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnslotchange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnslotchange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnstalled(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnstalled(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnsubmit(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnsubmit(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnsuspend(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnsuspend(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOntimeupdate(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntimeupdate(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOntoggle(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntoggle(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnvolumechange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnvolumechange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwaiting(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwaiting(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwebkitanimationend(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkitanimationend(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwebkitanimationiteration(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkitanimationiteration(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwebkitanimationstart(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkitanimationstart(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwebkittransitionend(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkittransitionend(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwheel(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwheel(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnanimationstart(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationstart(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnanimationiteration(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationiteration(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnanimationend(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationend(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnanimationcancel(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationcancel(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOntransitionrun(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntransitionrun(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOntransitionend(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntransitionend(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOntransitioncancel(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntransitioncancel(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnselectstart(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnselectstart(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnselectionchange(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnselectionchange(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointerover(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointerover(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointerenter(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointerenter(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointerdown(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointerdown(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointermove(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointermove(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointerup(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointerup(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointercancel(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointercancel(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointerout(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointerout(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnpointerleave(
&self,
cx: &mut JSContext,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpointerleave(
&self,
cx: &mut JSContext,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetElementById(
&self,
elementId: DOMString,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn Children(
&self,
cx: &mut JSContext,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn GetFirstElementChild(
&self,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn GetLastElementChild(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn ChildElementCount(&self) -> u32;
fn Prepend(
&self,
cx: &mut JSContext,
nodes: Vec<NodeOrString<D>>,
) -> Result<(), Error>;
fn Append(
&self,
cx: &mut JSContext,
nodes: Vec<NodeOrString<D>>,
) -> Result<(), Error>;
fn ReplaceChildren(
&self,
cx: &mut JSContext,
nodes: Vec<NodeOrString<D>>,
) -> Result<(), Error>;
fn MoveBefore(
&self,
cx: &mut JSContext,
node: &<D as DomTypes>::Node,
child: Option<&<D as DomTypes>::Node>,
) -> Result<(), Error>;
fn QuerySelector(
&self,
selectors: DOMString,
) -> Result<Option<Root<Dom<<D as DomTypes>::Element>>>, Error>;
fn QuerySelectorAll(
&self,
selectors: DOMString,
) -> Result<Root<Dom<<D as DomTypes>::NodeList>>, Error>;
fn CreateExpression(
&self,
expression: DOMString,
resolver: Option<Rc<XPathNSResolver<D>>>,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::XPathExpression>>, Error>;
fn CreateNSResolver(
&self,
nodeResolver: &<D as DomTypes>::Node,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::Node>>;
fn Evaluate(
&self,
expression: DOMString,
contextNode: &<D as DomTypes>::Node,
resolver: Option<Rc<XPathNSResolver<D>>>,
type_: u16,
result: Option<&<D as DomTypes>::XPathResult>,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::XPathResult>>, Error>;
fn SupportedPropertyNames(&self) -> Vec<DOMString>;
fn NamedGetter(
&self,
cx: &mut JSContext,
name: DOMString,
) -> Option<WindowProxyOrElementOrHTMLCollection<D>>;
fn Constructor(
global: &<D as DomTypes>::Window,
proto: Option<Handle<'_, *mut JSObject>>,
can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>;
}Required Methods§
fn Implementation( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DOMImplementation>>
fn URL(&self) -> USVString
fn DocumentURI(&self) -> USVString
fn CompatMode(&self) -> DOMString
fn CharacterSet(&self) -> DOMString
fn Charset(&self) -> DOMString
fn InputEncoding(&self) -> DOMString
fn ContentType(&self) -> DOMString
fn GetDoctype(&self) -> Option<Root<Dom<<D as DomTypes>::DocumentType>>>
fn GetDocumentElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn GetElementsByTagName( &self, cx: &mut JSContext, qualifiedName: DOMString, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn GetElementsByTagNameNS( &self, cx: &mut JSContext, namespace: Option<DOMString>, qualifiedName: DOMString, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn GetElementsByClassName( &self, cx: &mut JSContext, classNames: DOMString, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn CreateElement( &self, cx: &mut JSContext, localName: DOMString, options: StringOrElementCreationOptions, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>
fn CreateElementNS( &self, cx: &mut JSContext, namespace: Option<DOMString>, qualifiedName: DOMString, options: StringOrElementCreationOptions, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>
fn CreateDocumentFragment( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::DocumentFragment>>
fn CreateTextNode( &self, cx: &mut JSContext, data: DOMString, ) -> Root<Dom<<D as DomTypes>::Text>>
fn CreateCDATASection( &self, cx: &mut JSContext, data: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::CDATASection>>, Error>
fn CreateComment( &self, cx: &mut JSContext, data: DOMString, ) -> Root<Dom<<D as DomTypes>::Comment>>
fn CreateProcessingInstruction( &self, cx: &mut JSContext, target: DOMString, data: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::ProcessingInstruction>>, Error>
fn ImportNode( &self, cx: &mut JSContext, node: &<D as DomTypes>::Node, options: BooleanOrImportNodeOptions<D>, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>
fn AdoptNode( &self, cx: &mut JSContext, node: &<D as DomTypes>::Node, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>
fn CreateAttribute( &self, cx: &mut JSContext, localName: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>
fn CreateAttributeNS( &self, cx: &mut JSContext, namespace: Option<DOMString>, qualifiedName: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>
fn CreateEvent( &self, cx: &mut JSContext, interface_: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::Event>>, Error>
fn CreateRange(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::Range>>
fn CreateNodeIterator( &self, root: &<D as DomTypes>::Node, whatToShow: u32, filter: Option<Rc<NodeFilter<D>>>, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::NodeIterator>>
fn CreateTreeWalker( &self, root: &<D as DomTypes>::Node, whatToShow: u32, filter: Option<Rc<NodeFilter<D>>>, ) -> Root<Dom<<D as DomTypes>::TreeWalker>>
fn ParseHTMLUnsafe( cx: &mut JSContext, global: &<D as DomTypes>::Window, html: TrustedHTMLOrString<D>, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>
fn GetLocation( &self, cx: &mut JSContext, ) -> Option<Root<Dom<<D as DomTypes>::Location>>>
fn Domain(&self) -> DOMString
fn SetDomain(&self, value: DOMString) -> Result<(), Error>
fn Referrer(&self) -> DOMString
fn GetCookie(&self) -> Result<DOMString, Error>
fn SetCookie(&self, value: DOMString) -> Result<(), Error>
fn LastModified(&self) -> DOMString
fn ReadyState(&self) -> DocumentReadyState
fn Title(&self) -> DOMString
fn SetTitle(&self, cx: &mut JSContext, value: DOMString)
fn GetBody(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLElement>>>
fn SetBody( &self, cx: &mut JSContext, value: Option<&<D as DomTypes>::HTMLElement>, ) -> Result<(), Error>
fn GetHead(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLHeadElement>>>
fn Images( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Embeds( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Plugins( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Links( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Forms( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Scripts( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn GetElementsByName( &self, elementName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::NodeList>>
fn GetCurrentScript( &self, ) -> Option<Root<Dom<<D as DomTypes>::HTMLScriptElement>>>
fn Open( &self, cx: &mut JSContext, unused1: Option<DOMString>, unused2: Option<DOMString>, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>
fn Open_( &self, cx: &mut JSContext, url: USVString, name: DOMString, features: DOMString, ) -> Result<Option<Root<Dom<<D as DomTypes>::WindowProxy>>>, Error>
fn Close(&self, cx: &mut JSContext) -> Result<(), Error>
fn Write( &self, cx: &mut JSContext, text: Vec<TrustedHTMLOrString<D>>, ) -> Result<(), Error>
fn Writeln( &self, cx: &mut JSContext, text: Vec<TrustedHTMLOrString<D>>, ) -> Result<(), Error>
fn GetDefaultView(&self) -> Option<Root<Dom<<D as DomTypes>::Window>>>
fn HasFocus(&self) -> bool
fn ExecCommand( &self, cx: &mut JSContext, commandId: DOMString, showUI: bool, value: TrustedHTMLOrString<D>, ) -> Result<bool, Error>
fn QueryCommandEnabled(&self, cx: &mut JSContext, commandId: DOMString) -> bool
fn QueryCommandIndeterm(&self, commandId: DOMString) -> bool
fn QueryCommandState(&self, cx: &mut JSContext, commandId: DOMString) -> bool
fn QueryCommandSupported(&self, commandId: DOMString) -> bool
fn QueryCommandValue( &self, cx: &mut JSContext, commandId: DOMString, ) -> DOMString
fn Hidden(&self) -> bool
fn VisibilityState(&self) -> DocumentVisibilityState
fn GetOnreadystatechange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnreadystatechange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn FgColor(&self) -> DOMString
fn SetFgColor(&self, value: DOMString, _can_gc: CanGc)
fn BgColor(&self) -> DOMString
fn SetBgColor(&self, value: DOMString, _can_gc: CanGc)
fn Anchors( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Applets( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Clear(&self)
fn CaptureEvents(&self)
fn ReleaseEvents(&self)
fn FullscreenEnabled(&self) -> bool
fn Fullscreen(&self) -> bool
fn ExitFullscreen(&self, _can_gc: CanGc) -> Rc<<D as DomTypes>::Promise>
fn GetOnfullscreenchange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnfullscreenchange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnfullscreenerror( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnfullscreenerror( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetScrollingElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn GetSelection( &self, cx: &mut JSContext, ) -> Option<Root<Dom<<D as DomTypes>::Selection>>>
fn Timeline(&self) -> Root<Dom<<D as DomTypes>::DocumentTimeline>>
fn ServoGetMediaControls( &self, id: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::ShadowRoot>>, Error>
fn ElementFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn ElementsFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Vec<Root<Dom<<D as DomTypes>::Element>>>
fn GetActiveElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn StyleSheets( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::StyleSheetList>>
fn AdoptedStyleSheets( &self, cx: JSContext, _can_gc: CanGc, retval: MutableHandle<'_, Value>, )
fn SetAdoptedStyleSheets( &self, cx: JSContext, value: Handle<'_, Value>, _can_gc: CanGc, ) -> Result<(), Error>
fn GetFullscreenElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn Fonts(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::FontFaceSet>>
fn GetOnabort(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnabort( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnauxclick( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnauxclick( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnbeforeinput( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnbeforeinput( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnbeforematch( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnbeforematch( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnbeforetoggle( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnbeforetoggle( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnblur(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnblur( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncancel(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncancel( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncanplay(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncanplay( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncanplaythrough( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncanplaythrough( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnchange(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnchange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnclick(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnclick( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnclose(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnclose( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncommand(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncommand( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncontextlost( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncontextlost( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncontextrestored( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncontextrestored( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncopy(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncopy( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncuechange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncuechange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOncut(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncut( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndblclick( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndblclick( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndrag(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndrag( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndragend(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragend( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndragenter( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragenter( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndragleave( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragleave( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndragover( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragover( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndragstart( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragstart( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndrop(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndrop( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOndurationchange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndurationchange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnemptied(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnemptied( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnended(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnended( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnerror( &self, cx: &mut JSContext, ) -> Option<Rc<OnErrorEventHandlerNonNull<D>>>
fn SetOnerror( &self, cx: &mut JSContext, value: Option<Rc<OnErrorEventHandlerNonNull<D>>>, )
fn GetOnfocus(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnfocus( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnformdata( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnformdata( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOninput(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOninput( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOninvalid(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOninvalid( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnkeydown(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnkeydown( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnkeypress( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnkeypress( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnkeyup(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnkeyup( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnload(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnload( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnloadeddata( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnloadeddata( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnloadedmetadata( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnloadedmetadata( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnloadstart( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnloadstart( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnmousedown( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmousedown( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnmouseenter( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseenter( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnmouseleave( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseleave( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnmousemove( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmousemove( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnmouseout( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseout( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnmouseover( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseover( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnmouseup(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseup( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpaste(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpaste( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpause(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpause( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnplay(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnplay( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnplaying(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnplaying( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnprogress( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnprogress( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnratechange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnratechange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnreset(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnreset( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnresize(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnresize( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnscroll(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnscroll( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnscrollend( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnscrollend( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnsecuritypolicyviolation( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnsecuritypolicyviolation( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnseeked(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnseeked( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnseeking(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnseeking( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnselect(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnselect( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnslotchange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnslotchange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnstalled(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnstalled( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnsubmit(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnsubmit( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnsuspend(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnsuspend( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOntimeupdate( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntimeupdate( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOntoggle(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntoggle( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnvolumechange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnvolumechange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnwaiting(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwaiting( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnwebkitanimationend( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkitanimationend( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnwebkitanimationiteration( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkitanimationiteration( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnwebkitanimationstart( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkitanimationstart( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnwebkittransitionend( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkittransitionend( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnwheel(&self, cx: &mut JSContext) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwheel( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnanimationstart( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationstart( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnanimationiteration( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationiteration( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnanimationend( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationend( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnanimationcancel( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationcancel( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOntransitionrun( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntransitionrun( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOntransitionend( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntransitionend( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOntransitioncancel( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntransitioncancel( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnselectstart( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnselectstart( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnselectionchange( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnselectionchange( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointerover( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointerover( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointerenter( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointerenter( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointerdown( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointerdown( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointermove( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointermove( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointerup( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointerup( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointercancel( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointercancel( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointerout( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointerout( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnpointerleave( &self, cx: &mut JSContext, ) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpointerleave( &self, cx: &mut JSContext, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetElementById( &self, elementId: DOMString, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn Children( &self, cx: &mut JSContext, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn GetFirstElementChild(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn GetLastElementChild(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn ChildElementCount(&self) -> u32
fn Prepend( &self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>, ) -> Result<(), Error>
fn Append( &self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>, ) -> Result<(), Error>
fn ReplaceChildren( &self, cx: &mut JSContext, nodes: Vec<NodeOrString<D>>, ) -> Result<(), Error>
fn MoveBefore( &self, cx: &mut JSContext, node: &<D as DomTypes>::Node, child: Option<&<D as DomTypes>::Node>, ) -> Result<(), Error>
fn QuerySelector( &self, selectors: DOMString, ) -> Result<Option<Root<Dom<<D as DomTypes>::Element>>>, Error>
fn QuerySelectorAll( &self, selectors: DOMString, ) -> Result<Root<Dom<<D as DomTypes>::NodeList>>, Error>
fn CreateExpression( &self, expression: DOMString, resolver: Option<Rc<XPathNSResolver<D>>>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::XPathExpression>>, Error>
fn CreateNSResolver( &self, nodeResolver: &<D as DomTypes>::Node, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Node>>
fn Evaluate( &self, expression: DOMString, contextNode: &<D as DomTypes>::Node, resolver: Option<Rc<XPathNSResolver<D>>>, type_: u16, result: Option<&<D as DomTypes>::XPathResult>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::XPathResult>>, Error>
fn SupportedPropertyNames(&self) -> Vec<DOMString>
fn NamedGetter( &self, cx: &mut JSContext, name: DOMString, ) -> Option<WindowProxyOrElementOrHTMLCollection<D>>
fn Constructor( global: &<D as DomTypes>::Window, proto: Option<Handle<'_, *mut JSObject>>, can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.