W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2013

Re: Exceptions in event listeners triggered by dispatchEvent().

From: Anne van Kesteren <annevk@annevk.nl>
Date: Mon, 3 Jun 2013 18:45:40 +0100
Message-ID: <CADnb78gniCqTj8Ej7PxAnN8qqn8yQBHR464nmn8bzgAej_nsfw@mail.gmail.com>
To: John Barton <johnjbarton@google.com>
Cc: "www-dom@w3.org" <www-dom@w3.org>
On Mon, Jun 3, 2013 at 4:18 PM, John Barton <johnjbarton@google.com> wrote:
> The confusing is the timing. dispatchEvent() acts in some ways as if it is
> asynchronous -- errors do not propagate -- and in other ways as if it is --
> the timing of the call is nested within the caller.  Simply queuing the
> event for execution on the next turn would make the platform more
> consistent.

I'm not convinced, but lets say you're correct, what's the next step?

Received on Monday, 3 June 2013 17:46:08 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:37:02 UTC