Function mozjs::jsapi::GetSavedFrameFunctionDisplayName

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

Given a SavedFrame JSObject, get its functionDisplayName string, or nullptr if SpiderMonkey was unable to infer a name for the captured frame’s function. Defaults to nullptr.