Re: [RequestAnimationFrame]: thrown exceptions and user experience

On Mon, Jun 23, 2014 at 9:01 PM, James Robinson <jamesr@chromium.org> wrote:
> What is the correct incantation to say "Treat this exception as uncaught and
> continue with the algorithm" in the spec?

We don't have something agreed upon yet. I recommend something like
the following for now:

?. ...
?. Run /callback/. If that throws an exception, rethrow it, but
continue running these steps. Note: such an exception can be caught
using window.onerror.
?. ...


-- 
http://annevankesteren.nl/

Received on Monday, 23 June 2014 19:07:57 UTC