W3C home > Mailing lists > Public > public-web-perf@w3.org > June 2014

Re: [RequestAnimationFrame]: thrown exceptions and user experience

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 23 Jun 2014 21:07:29 +0200
Message-ID: <CADnb78hTv_qUkFz=qFuY4L2=6kgz=q=gq3u2Ax1UXghGes8hDA@mail.gmail.com>
To: James Robinson <jamesr@chromium.org>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "public-web-perf@w3.org" <public-web-perf@w3.org>
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.
?. ...

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:04:38 UTC