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

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

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