pub(crate) fn report_pending_exception(
cx: JSContext,
dispatch_event: bool,
realm: InRealm<'_>,
can_gc: CanGc,
)
Expand description
Report a pending exception, thereby clearing it.
The dispatch_event
argument is temporary and non-standard; passing false
prevents dispatching the error
event.