[whatwg] Race condition in media load algorithm

Chris Pearce chris at pearce.org.nz
Mon Aug 2 15:40:26 PDT 2010

  On 2/08/2010 9:17 p.m., Ian Hickson wrote:
> On Mon, 2 Aug 2010, Chris Pearce wrote:
>> There's a race condition in the media load algorithm. When the resource
>> selection algorithm begins, it sets a task to complete the rest of the
>> resource selection algorithm asynchronously.
> Not quite. It awaits a stable state and then runs a synchronous section,
> which means that it will run the subsequent steps as soon as the current
> task has finished, before anything else that is queued.

Ah, I see. My understanding of the processing model was incomplete, 
thanks for clarifying!

All the best,
Chris Pearce.

More information about the whatwg mailing list