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

[XHR2] Progress events during synchronous requests

From: Jonas Sicking <jonas@sicking.cc>
Date: Wed, 11 Feb 2009 13:44:17 -0800
Message-ID: <63df84f0902111344w1f0687aal8d08bdf06becfbf5@mail.gmail.com>
To: Webapps WG <public-webapps@w3.org>

Hi All,

Is there a reason why the spec says to not send progress events
(upload and download) during synchronous requests, while still saying
that readystatechange events should be fired?

I guess it can be argued that progress events (especially the load
event) is less useful for synchronous loads and that not dispatching
them is a performance optimization. Is that the reason?

I don't really feel strongly either way, though I do think that from a
web developers point of view it would be more useful to dispatch the
events than not to dispatch them. And being consistent with regards to
readystatechange is always nice.

/ Jonas
Received on Wednesday, 11 February 2009 21:44:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:12:51 UTC