Function mozjs::jsapi::JS::GetSavedFrameParent
source · pub unsafe extern "C" fn GetSavedFrameParent(
cx: *mut JSContext,
principals: *mut JSPrincipals,
savedFrame: Handle<*mut JSObject>,
parentp: MutableHandle<*mut JSObject>,
selfHosted: SavedFrameSelfHosted,
) -> SavedFrameResult
Expand description
Given a SavedFrame JSObject, get its parent SavedFrame object or nullptr if
it is the oldest frame in the stack. The parentp
out parameter is NOT
guaranteed to be in the cx’s compartment. Defaults to nullptr.