Function mozjs::jsapi::GetFirstSubsumedSavedFrame

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

Get the first SavedFrame object in this SavedFrame stack whose principals are subsumed by the given |principals|. If there is no such frame, return nullptr.

Do NOT pass a non-SavedFrame object here.