fn report_error( error_info: ErrorInfo, value: HandleValue<'_>, cx: JSContext, dispatch_event: bool, realm: InRealm<'_>, can_gc: CanGc, )