W3C home > Mailing lists > Public > public-webapps@w3.org > January to March 2010

Re: [xhr] events for async requests

From: Anne van Kesteren <annevk@opera.com>
Date: Mon, 01 Feb 2010 12:20:52 +0100
To: "Jonas Sicking" <jonas@sicking.cc>
Cc: "Ian Hickson" <ian@hixie.ch>, "Alexey Proskuryakov" <ap@webkit.org>, "WebApps WG" <public-webapps@w3.org>
Message-ID: <op.u7f4g20164w2qv@annevk-t60>
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
Received on Monday, 1 February 2010 11:21:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:04 UTC