script::dom::bindings::interface

Function define_dom_interface

source
pub fn define_dom_interface(
    cx: JSContext,
    global: HandleObject<'_>,
    id: ProtoOrIfaceIndex,
    creator: unsafe fn(_: JSContext, _: HandleObject<'_>, _: *mut [*mut JSObject; 592]),
    enabled: fn(_: JSContext, _: HandleObject<'_>) -> bool,
)