pub(crate) trait DocumentMethods<D>where
D: DomTypes,{
Show 274 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,
qualifiedName: DOMString,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn GetElementsByTagNameNS(
&self,
namespace: Option<DOMString>,
qualifiedName: DOMString,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn GetElementsByClassName(
&self,
classNames: DOMString,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn CreateElement(
&self,
localName: DOMString,
options: StringOrElementCreationOptions,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>;
fn CreateElementNS(
&self,
namespace: Option<DOMString>,
qualifiedName: DOMString,
options: StringOrElementCreationOptions,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>;
fn CreateDocumentFragment(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::DocumentFragment>>;
fn CreateTextNode(
&self,
data: DOMString,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::Text>>;
fn CreateCDATASection(
&self,
data: DOMString,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::CDATASection>>, Error>;
fn CreateComment(
&self,
data: DOMString,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::Comment>>;
fn CreateProcessingInstruction(
&self,
target: DOMString,
data: DOMString,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::ProcessingInstruction>>, Error>;
fn ImportNode(
&self,
node: &<D as DomTypes>::Node,
deep: bool,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>;
fn AdoptNode(
&self,
node: &<D as DomTypes>::Node,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>;
fn CreateAttribute(
&self,
localName: DOMString,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>;
fn CreateAttributeNS(
&self,
namespace: Option<DOMString>,
qualifiedName: DOMString,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>;
fn CreateEvent(
&self,
interface_: DOMString,
_can_gc: CanGc,
) -> 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 GetLocation(&self) -> 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, value: DOMString, _can_gc: CanGc);
fn GetBody(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLElement>>>;
fn SetBody(
&self,
value: Option<&<D as DomTypes>::HTMLElement>,
_can_gc: CanGc,
) -> Result<(), Error>;
fn GetHead(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLHeadElement>>>;
fn Images(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Embeds(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Plugins(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Links(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Forms(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Scripts(
&self,
_can_gc: CanGc,
) -> 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,
unused1: Option<DOMString>,
unused2: Option<DOMString>,
_can_gc: CanGc,
) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>;
fn Open_(
&self,
url: USVString,
name: DOMString,
features: DOMString,
_can_gc: CanGc,
) -> Result<Option<Root<Dom<<D as DomTypes>::WindowProxy>>>, Error>;
fn Close(&self, _can_gc: CanGc) -> Result<(), Error>;
fn Write(
&self,
text: Vec<TrustedHTMLOrString<D>>,
_can_gc: CanGc,
) -> Result<(), Error>;
fn Writeln(
&self,
text: Vec<TrustedHTMLOrString<D>>,
_can_gc: CanGc,
) -> Result<(), Error>;
fn GetDefaultView(&self) -> Option<Root<Dom<<D as DomTypes>::Window>>>;
fn HasFocus(&self) -> bool;
fn QueryCommandSupported(&self, commandId: DOMString) -> bool;
fn Hidden(&self) -> bool;
fn VisibilityState(&self) -> DocumentVisibilityState;
fn GetOnreadystatechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnreadystatechange(&self, 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,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Applets(
&self,
_can_gc: CanGc,
) -> Root<Dom<<D as DomTypes>::HTMLCollection>>;
fn Clear(&self);
fn CaptureEvents(&self);
fn ReleaseEvents(&self);
fn FullscreenEnabled(&self) -> bool;
fn GetFullscreenElement(
&self,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn Fullscreen(&self) -> bool;
fn ExitFullscreen(&self, _can_gc: CanGc) -> Rc<<D as DomTypes>::Promise>;
fn GetOnfullscreenchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnfullscreenchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnfullscreenerror(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnfullscreenerror(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetScrollingElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn GetSelection(
&self,
_can_gc: CanGc,
) -> Option<Root<Dom<<D as DomTypes>::Selection>>>;
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>,
) -> Result<(), Error>;
fn Fonts(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::FontFaceSet>>;
fn GetOnabort(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnabort(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnauxclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnauxclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnbeforeinput(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnbeforeinput(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnbeforematch(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnbeforematch(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnbeforetoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnbeforetoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnblur(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnblur(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncanplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncanplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncanplaythrough(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncanplaythrough(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnclose(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncommand(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncommand(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncontextlost(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncontextlost(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncontextmenu(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncontextmenu(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncontextrestored(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncontextrestored(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncopy(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncopy(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncuechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncuechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOncut(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOncut(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndblclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndblclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndrag(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndrag(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndragend(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragend(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndragenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndragleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndragover(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragover(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndragstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndragstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndrop(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndrop(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOndurationchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOndurationchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnemptied(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnemptied(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnended(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnended(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnerror(&self) -> Option<Rc<OnErrorEventHandlerNonNull<D>>>;
fn SetOnerror(&self, value: Option<Rc<OnErrorEventHandlerNonNull<D>>>);
fn GetOnfocus(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnfocus(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnformdata(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnformdata(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOninput(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOninput(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOninvalid(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOninvalid(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnkeydown(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnkeydown(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnkeypress(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnkeypress(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnkeyup(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnkeyup(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnload(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnload(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnloadeddata(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnloadeddata(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnloadedmetadata(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnloadedmetadata(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnloadstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnloadstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnmousedown(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmousedown(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnmouseenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnmouseleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnmousemove(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmousemove(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnmouseout(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseout(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnmouseover(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseover(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnmouseup(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnmouseup(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnpaste(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpaste(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnpause(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnpause(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnplaying(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnplaying(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnprogress(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnprogress(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnratechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnratechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnreset(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnreset(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnresize(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnresize(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnscroll(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnscroll(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnscrollend(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnscrollend(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnsecuritypolicyviolation(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnsecuritypolicyviolation(
&self,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnseeked(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnseeked(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnseeking(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnseeking(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnselect(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnselect(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnslotchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnslotchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnstalled(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnstalled(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnsubmit(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnsubmit(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnsuspend(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnsuspend(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOntimeupdate(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntimeupdate(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOntoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnvolumechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnvolumechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnwaiting(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwaiting(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnwebkitanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkitanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnwebkitanimationiteration(
&self,
) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkitanimationiteration(
&self,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwebkitanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkitanimationstart(
&self,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwebkittransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwebkittransitionend(
&self,
value: Option<Rc<EventHandlerNonNull<D>>>,
);
fn GetOnwheel(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnwheel(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnanimationiteration(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationiteration(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnanimationcancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnanimationcancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOntransitionrun(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntransitionrun(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOntransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntransitionend(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOntransitioncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOntransitioncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnselectstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnselectstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetOnselectionchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>;
fn SetOnselectionchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>);
fn GetElementById(
&self,
elementId: DOMString,
) -> Option<Root<Dom<<D as DomTypes>::Element>>>;
fn Children(
&self,
_can_gc: CanGc,
) -> 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,
nodes: Vec<NodeOrString<D>>,
_can_gc: CanGc,
) -> Result<(), Error>;
fn Append(
&self,
nodes: Vec<NodeOrString<D>>,
_can_gc: CanGc,
) -> Result<(), Error>;
fn ReplaceChildren(
&self,
nodes: Vec<NodeOrString<D>>,
_can_gc: CanGc,
) -> 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,
name: DOMString,
_can_gc: CanGc,
) -> 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, qualifiedName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn GetElementsByTagNameNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn GetElementsByClassName( &self, classNames: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn CreateElement( &self, localName: DOMString, options: StringOrElementCreationOptions, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>
fn CreateElementNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, options: StringOrElementCreationOptions, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Element>>, Error>
fn CreateDocumentFragment( &self, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::DocumentFragment>>
fn CreateTextNode( &self, data: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Text>>
fn CreateCDATASection( &self, data: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::CDATASection>>, Error>
fn CreateComment( &self, data: DOMString, _can_gc: CanGc, ) -> Root<Dom<<D as DomTypes>::Comment>>
fn CreateProcessingInstruction( &self, target: DOMString, data: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::ProcessingInstruction>>, Error>
fn ImportNode( &self, node: &<D as DomTypes>::Node, deep: bool, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>
fn AdoptNode( &self, node: &<D as DomTypes>::Node, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Node>>, Error>
fn CreateAttribute( &self, localName: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>
fn CreateAttributeNS( &self, namespace: Option<DOMString>, qualifiedName: DOMString, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Attr>>, Error>
fn CreateEvent( &self, interface_: DOMString, _can_gc: CanGc, ) -> 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 GetLocation(&self) -> 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, value: DOMString, _can_gc: CanGc)
fn GetBody(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLElement>>>
fn SetBody( &self, value: Option<&<D as DomTypes>::HTMLElement>, _can_gc: CanGc, ) -> Result<(), Error>
fn GetHead(&self) -> Option<Root<Dom<<D as DomTypes>::HTMLHeadElement>>>
fn Images(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Embeds(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Plugins(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Links(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Forms(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Scripts(&self, _can_gc: CanGc) -> 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, unused1: Option<DOMString>, unused2: Option<DOMString>, _can_gc: CanGc, ) -> Result<Root<Dom<<D as DomTypes>::Document>>, Error>
fn Open_( &self, url: USVString, name: DOMString, features: DOMString, _can_gc: CanGc, ) -> Result<Option<Root<Dom<<D as DomTypes>::WindowProxy>>>, Error>
fn Close(&self, _can_gc: CanGc) -> Result<(), Error>
fn Write( &self, text: Vec<TrustedHTMLOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>
fn Writeln( &self, text: Vec<TrustedHTMLOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>
fn GetDefaultView(&self) -> Option<Root<Dom<<D as DomTypes>::Window>>>
fn HasFocus(&self) -> bool
fn QueryCommandSupported(&self, commandId: DOMString) -> bool
fn Hidden(&self) -> bool
fn VisibilityState(&self) -> DocumentVisibilityState
fn GetOnreadystatechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnreadystatechange(&self, 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, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Applets(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::HTMLCollection>>
fn Clear(&self)
fn CaptureEvents(&self)
fn ReleaseEvents(&self)
fn FullscreenEnabled(&self) -> bool
fn GetFullscreenElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn Fullscreen(&self) -> bool
fn ExitFullscreen(&self, _can_gc: CanGc) -> Rc<<D as DomTypes>::Promise>
fn GetOnfullscreenchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnfullscreenchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnfullscreenerror(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnfullscreenerror(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetScrollingElement(&self) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn GetSelection( &self, _can_gc: CanGc, ) -> Option<Root<Dom<<D as DomTypes>::Selection>>>
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>, ) -> Result<(), Error>
fn Fonts(&self, _can_gc: CanGc) -> Root<Dom<<D as DomTypes>::FontFaceSet>>
fn GetOnabort(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnabort(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnauxclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnauxclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnbeforeinput(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnbeforeinput(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnbeforematch(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnbeforematch(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnbeforetoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnbeforetoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnblur(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnblur(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncanplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncanplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncanplaythrough(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncanplaythrough(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnclose(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnclose(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncommand(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncommand(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncontextlost(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncontextlost(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncontextrestored(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncontextrestored(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncopy(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncopy(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncuechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncuechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOncut(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOncut(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndblclick(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndblclick(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndrag(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndrag(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndragend(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndragenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndragleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndragover(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragover(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndragstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndragstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndrop(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndrop(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOndurationchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOndurationchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnemptied(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnemptied(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnended(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnended(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnerror(&self) -> Option<Rc<OnErrorEventHandlerNonNull<D>>>
fn SetOnerror(&self, value: Option<Rc<OnErrorEventHandlerNonNull<D>>>)
fn GetOnfocus(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnfocus(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnformdata(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnformdata(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOninput(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOninput(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOninvalid(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOninvalid(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnkeydown(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnkeydown(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnkeypress(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnkeypress(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnkeyup(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnkeyup(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnload(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnload(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnloadeddata(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnloadeddata(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnloadedmetadata(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnloadedmetadata(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnloadstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnloadstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnmousedown(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmousedown(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnmouseenter(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseenter(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnmouseleave(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseleave(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnmousemove(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmousemove(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnmouseout(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseout(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnmouseover(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseover(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnmouseup(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnmouseup(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnpaste(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpaste(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnpause(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnpause(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnplay(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnplay(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnplaying(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnplaying(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnprogress(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnprogress(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnratechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnratechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnreset(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnreset(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnresize(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnresize(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnscroll(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnscroll(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnscrollend(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnscrollend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnsecuritypolicyviolation(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnsecuritypolicyviolation( &self, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnseeked(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnseeked(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnseeking(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnseeking(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnselect(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnselect(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnslotchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnslotchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnstalled(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnstalled(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnsubmit(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnsubmit(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnsuspend(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnsuspend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOntimeupdate(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntimeupdate(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOntoggle(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntoggle(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnvolumechange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnvolumechange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnwaiting(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwaiting(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnwebkitanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkitanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnwebkitanimationiteration(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkitanimationiteration( &self, value: Option<Rc<EventHandlerNonNull<D>>>, )
fn GetOnwebkitanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkitanimationstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnwebkittransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwebkittransitionend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnwheel(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnwheel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnanimationstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnanimationiteration(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationiteration(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnanimationend(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnanimationcancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnanimationcancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOntransitionrun(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntransitionrun(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOntransitionend(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntransitionend(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOntransitioncancel(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOntransitioncancel(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnselectstart(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnselectstart(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetOnselectionchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>
fn SetOnselectionchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>)
fn GetElementById( &self, elementId: DOMString, ) -> Option<Root<Dom<<D as DomTypes>::Element>>>
fn Children(&self, _can_gc: CanGc) -> 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, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>
fn Append( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> Result<(), Error>
fn ReplaceChildren( &self, nodes: Vec<NodeOrString<D>>, _can_gc: CanGc, ) -> 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, name: DOMString, _can_gc: CanGc, ) -> 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.