pub unsafe extern "C" fn JS_NewDeadWrapper(
cx: *mut JSContext,
origObject: *mut JSObject,
) -> *mut JSObject
Expand description
Creates a new dead wrapper object in the given scope. To be used when attempting to wrap objects from scopes which are already dead.
If origObject is passed, it must be an proxy object, and will be used to determine the characteristics of the new dead wrapper.