W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2011

[whatwg] <video> ... <script> race condition

From: Glenn Maynard <glenn@zewt.org>
Date: Mon, 16 May 2011 13:43:38 -0400
Message-ID: <BANLkTinU7qsy7kpXv2OTcM8cG-Y7nPbAbA@mail.gmail.com>
On Mon, May 16, 2011 at 3:20 AM, Simon Pieters <simonp at opera.com> wrote:

>  The state can have changed before the event has actually fired, since
> state changes are sync but the events are queued. So if the script happens
> to run in between then func is run twice. See
> http://www.w3.org/Bugs/Public/show_bug.cgi?id=12267
>

That's a pretty nasty API bug; hopefully that gets fixed.  This thread's
issue is bad enough without problems like this overlaid on top of it
breaking the sane solutions.

-- 
Glenn Maynard
Received on Monday, 16 May 2011 10:43:38 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:33 UTC