Deletes the property id
from object
.
Enumerate lazy properties of a global object.
Coverts exception to promise rejection
Find the enum equivelent of a string given by v
in pairs
.
Returns Err(())
on JSAPI failure (there is a pending exception), and
Ok((None, value))
if there was no matching string.
Generic getter of IDL interface.
Generic lenient getter of IDL interface.
Generic lenient setter of IDL interface.
Generic method of IDL interface.
Generic setter of IDL interface.
Get an array index from the given jsid
. Returns None
if the given
jsid
is not an integer.
Get the property with name property
from object
.
Returns Err(())
on JSAPI failure (there is a pending exception), and
Ok(false)
if there was no property with the given name.
Gets the property id
on proxy
’s prototype. If it exists, *found
is
set to true and *vp
to the value, otherwise *found
is set to false.
Returns the ProtoOrIfaceArray for the given global object.
Fails if global
is not a DOM global object.
Returns whether proxy
has a property id
on its prototype.
Resolve a lazy global property, for interface objects and named constructors.
Set the property with name property
from object
.
Returns Err(())
on JSAPI failure, or null object,
and Ok(()) otherwise
Trace the resources held by reserved slots of a global object