Module script::dom::bindings::interface

source ·
Expand description

Machinery to initialise interface prototype objects and interface objects.

Structs

The constructor behavior of a non-callback interface object.
The class of a non-callback interface object.

Enums

Constants

OBJECT_OPS 🔒

Functions

Create and define the interface object of a callback interface.
Create a global object with the given class.
Create the interface prototype object of a non-callback interface.
Create and define the named constructors of a non-callback interface.
Create and define the interface object of a non-callback interface.
Create a new object with a unique type.
Conditionally define constants on an object.
Conditionally define methods on an object.
Conditionally define properties on an object.
Define a property with a given name on the global object. Should be called through the resolve hook.
Returns whether an interface with exposure set given by globals should be exposed in the global object obj.
Choose the compartment to create a new global object in.

Type Definitions

A constructor class hook.
A trace hook.