W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2010

[whatwg] Race condition in media load algorithm

From: Chris Pearce <chris@pearce.org.nz>
Date: Tue, 03 Aug 2010 10:40:26 +1200
Message-ID: <4C57495A.9020800@pearce.org.nz>
  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.
Received on Monday, 2 August 2010 15:40:26 UTC

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