Suppose a javascript task makes an async call. e.g. xhr.send(stuff)
- Does the (async) send begin in another thread immediately? or
- Does the send not begin until the current task is complete?
I am pretty sure it is (2) the latter but is this behavior covered by a spec or is it just the typical implementation. In a similar vein... Is the creation of a listener considered a synchronous call? Is there a specification covering this?