Function js::jsapi::GetFirstSubsumedSavedFrame [] [src]

pub unsafe extern "C" fn GetFirstSubsumedSavedFrame(
    cx: *mut JSContext,
    savedFrame: HandleObject,
    selfHosted: SavedFrameSelfHosted
) -> *mut JSObject

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

Do NOT pass a non-SavedFrame object here.

The savedFrame and cx do not need to be in the same compartment.