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