pub unsafe extern "C" fn ConvertSavedFrameToPlainObject(
    cx: *mut JSContext,
    savedFrame: Handle<*mut JSObject>,
    selfHosted: SavedFrameSelfHosted
) -> *mut JSObject
Expand description

Given a SavedFrame object, convert it and its transitive parents to plain objects. Because SavedFrame objects store their properties on the prototype, they cannot be usefully stringified to JSON. Assigning their properties to plain objects allow those objects to be stringified and the saved frame stack can be encoded as a string.