W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2008

[XHR2] xhr.upload and abort and error events

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Tue, 24 Jun 2008 12:26:17 +0300
Message-ID: <4860BDB9.9070405@helsinki.fi>
To: Webapps <public-webapps@w3.org>, Anne van Kesteren <annevk@opera.com>

Hi all,

currently per the draft 'abort' and 'error' events are always
dispatched to .upload, even if there isn't anything to upload.
'loadstart', 'progress' and 'load' are dispatched only if
request entity body is not empty.
I think the same restriction should apply to 'abort' and 'error' too.

One way to solve this and the upload complete flag handling problem is
to set the flag to true in send() if request body is empty.

Received on Tuesday, 24 June 2008 09:27:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 13:55:19 UTC