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

Glenn Maynard glenn at zewt.org
Mon May 16 10:43:38 PDT 2011

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

More information about the whatwg mailing list