script::dom::bindings::constructor

Function call_html_constructor

source
pub unsafe fn call_html_constructor<T: DerivedFrom<Element> + DomObject>(
    cx: JSContext,
    args: &CallArgs,
    global: &GlobalScope,
    proto_id: ID,
    creator: unsafe fn(_: JSContext, _: HandleObject<'_>, _: *mut [*mut JSObject; 592]),
    can_gc: CanGc,
) -> bool