pub fn create_noncallback_interface_object(
cx: JSContext,
global: HandleObject<'_>,
proto: HandleObject<'_>,
class: &'static NonCallbackInterfaceObjectClass,
static_methods: &[Guard<&'static [JSFunctionSpec]>],
static_properties: &[Guard<&'static [JSPropertySpec]>],
constants: &[Guard<&[ConstantSpec]>],
interface_prototype_object: HandleObject<'_>,
name: &CStr,
length: u32,
legacy_window_alias_names: &[&CStr],
rval: MutableHandleObject<'_>,
)
Expand description
Create and define the interface object of a non-callback interface.