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: Wed, 04 Aug 2010 11:52:47 +1200
Message-ID: <4C58ABCF.2070500@pearce.org.nz>
  On 4/08/2010 11:32 a.m., Ian Hickson wrote:
>
>> In the case of a tasks which invokes an algorithm which has a
>> synchronous section, and then pauses the event loop (such calling
>> window.alert()), we should not run the synchronous section until the
>> event loop pause has completed?
> Currently, yeah. We might want to make "pause" also trigger synchronous
> sections, if that's a problem.
>

Having "pause" trigger synchronous sections is definitely easier for us 
to implement, and would make pausing the event loop consistent with 
spinning the event loop WRT synchronous sections.

Chris P.
Received on Tuesday, 3 August 2010 16:52:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:59 UTC