Function script::dom::bindings::constructor::call_default_constructor

source ยท
pub unsafe fn call_default_constructor(
    cx: JSContext,
    args: &CallArgs,
    global: &GlobalScope,
    proto_id: ID,
    ctor_name: &str,
    creator: unsafe fn(_: JSContext, _: HandleObject<'_>, _: *mut [*mut JSObject; 592]),
    constructor: impl FnOnce(JSContext, &CallArgs, &GlobalScope, HandleObject<'_>) -> bool,
) -> bool