This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://heycam.github.io/webidl/#es-invoking-callback-functions [[ Invoking callback functions ]] I feel like we want this to be a <dfn> thing that we can cross-reference. That way it is more clear when a specification does not define what to do with a callback that throws.
Or we should have this as a lower-level hook and then a higher-level hook that is "invoke and report" as Ian just suggested on IRC. That higher-level hook should maybe be in HTML?
Happy to add something that invokes a callback and then catches and reports exceptions. Assign this bug to me when "invoking callback functions" is ready, or file a new bug on me?
Note: bug 27046 added the "report the exception" algorithm which reports an exception to window.onerror.
A plan for the exception-handling behavior was discussed in https://github.com/heycam/webidl/pull/113#issuecomment-218640902 and is tracked at https://github.com/whatwg/html/issues/958. The original request for a <dfn> was fixed in https://github.com/heycam/webidl/pull/113.