[whatwg] Promise-vending loaded() & ready() methods on various elements

Boris Zbarsky bzbarsky at MIT.EDU
Sat Mar 15 20:52:20 PDT 2014


On 3/15/14 11:36 AM, Kyle Simpson wrote:
> The `async=false` stuff in the spec talks about dynamically loaded (not parser loaded) scripts going into a queue so they are downloaded in parallel, but executed in request-order from the queue.

Then those are guaranteed to be serialized.

> The question is whether `async=false` scripts in the queue can be parsed in parallel

Nothing prevents that, as long as make sure you don't execute them as 
soon as the parse is done if the previous scripts haven't executed yet.

-Boris



More information about the whatwg mailing list