Function script::dom::bindings::import::module::jsapi::JS::CallOriginalPromiseResolve

source ·
pub unsafe extern "C" fn CallOriginalPromiseResolve(
    cx: *mut JSContext,
    resolutionValue: Handle<Value>,
) -> *mut JSObject
Expand description

Calls the current compartment’s original Promise.resolve on the original Promise constructor, with resolutionValue passed as an argument.