Function mozjs_sys::jsapi::JS::CallOriginalPromiseReject
source · pub unsafe extern "C" fn CallOriginalPromiseReject(
cx: *mut JSContext,
rejectionValue: HandleValue,
) -> *mut JSObject
Expand description
Calls the current compartment’s original Promise.reject on the original
Promise constructor, with resolutionValue
passed as an argument.