[whatwg] Race condition in media load algorithm

Chris Pearce chris at pearce.org.nz
Tue Aug 3 16:52:47 PDT 2010


  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.



More information about the whatwg mailing list