Re: [xhr] events for async requests

On Mon, 01 Feb 2010 12:12:18 +0100, Jonas Sicking <jonas@sicking.cc> wrote:
> It is still unclear what the relationship is between responseText
> being set to a non-empty value, and switching to the LOADING state is.
>
> Which happens first (it's somewhat clear that responseText is changed
> before switching to the LOADING state)?

The response entity body is updated first.


> Can responseText ever be non-empty without being in the LOADING state?
> I.e. do these to actions happen from the same, or from separate, tasks
> posted to the event loop?

The same.


I could make this more explicit if you want.


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Monday, 1 February 2010 11:21:33 UTC