Chris Pearce.
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. In the asynchronous
task, we set the delaying-the-load-event flag to true at step 4. But
between the resource selection algorithm setting the task to
asynchronously continue the algorithm, and the task actually running,
the load event could fire, before we have a chance to set the
delaying-the-load-event flag to true. I suggest we set the
delaying-the-load-event flag to true before we set the task to continue
the rest of the resource selection algorithm asynchronously.
- [whatwg] Race condition in media load algorithm Chris Pearce
- Re: [whatwg] Race condition in media load algorithm Ian Hickson
- Re: [whatwg] Race condition in media load algorithm Boris Zbarsky
- Re: [whatwg] Race condition in media load algor... Ian Hickson
- Re: [whatwg] Race condition in media load a... Boris Zbarsky
- Re: [whatwg] Race condition in media l... Ian Hickson
- Re: [whatwg] Race condition in med... Boris Zbarsky
- Re: [whatwg] Race condition in med... Chris Pearce
- Re: [whatwg] Race condition in... Ian Hickson
- Re: [whatwg] Race condition in... Chris Pearce
- Re: [whatwg] Race condition in media load algorithm Chris Pearce
