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: Wed, 5 Jun 2013 15:09:21 +0100
Message-ID: <CADnb78ia1OqZBVZPsX+MFQ9wVGgQ37GqH2e2sT_aZBbZKJ6BZA@mail.gmail.com>
To: John Barton <johnjbarton@google.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, "www-dom@w3.org" <www-dom@w3.org>
On Wed, Jun 5, 2013 at 3:05 PM, John Barton <johnjbarton@google.com> wrote:
> At present the bug you cite indicates that all the listeners for a
> dispatchEvent() call (and recursively if they call dispatchEvent()) will
> result in a single microtask, causing all of their DOM and object mutations
> to be reported at a single time. If this means that the mutations cannot be
> logically connected to the correct listener invocations, this is a terrible
> outcome.

I recommend reading it again.


--
http://annevankesteren.nl/
Received on Wednesday, 5 June 2013 14:09:48 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:20 UTC