Expand description
Various utilities to glue JavaScript and the DOM implementation together.
Structs§
- DOMClass 🔒The struct that holds inheritance information for DOM object reflectors.
- The JSClass used for DOM object reflectors.
- Static data associated with a global object.
Constants§
Traits§
Functions§
- Eagerly define all relevant WebIDL interface constructors on the provided global object.
- Get an array index from the given
jsid
. ReturnsNone
if the givenjsid
is not an integer. - Get the property with name
property
fromobject
. ReturnsErr(())
on JSAPI failure (there is a pending exception), andOk(false)
if there was no property with the given name. - Returns whether
proxy
has a propertyid
on its prototype. - Returns wether
obj
is a platform object using dynamic unwrap https://heycam.github.io/webidl/#dfn-platform-object - Returns wether
obj
is a platform object using static unwrap https://heycam.github.io/webidl/#dfn-platform-object - Set the property with name
property
fromobject
. ReturnsErr(())
on JSAPI failure, or null object, and Ok(()) otherwise - Returns a JSVal representing the frozen JavaScript array
Type Aliases§
- An array of *mut JSObject of size PROTO_OR_IFACE_LENGTH.