Function mozjs::jsapi::GetSavedFrameAsyncCause

source ยท
pub unsafe extern "C" fn GetSavedFrameAsyncCause(
    cx: *mut JSContext,
    principals: *mut JSPrincipals,
    savedFrame: Handle<*mut JSObject>,
    asyncCausep: MutableHandle<*mut JSString>,
    selfHosted: SavedFrameSelfHosted,
) -> SavedFrameResult
Expand description

Given a SavedFrame JSObject, get its asyncCause string. Defaults to nullptr.