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

Re: [XHR2] load events on XMHttpRequestUpload

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 21 Jun 2011 15:30:45 -0400
Message-ID: <4E00F165.3040103@mit.edu>
To: Darin Fisher <darin@chromium.org>
CC: public-webapps@w3.org, "Tony Chang (Google)" <tony@chromium.org>
On 6/21/11 3:01 PM, Darin Fisher wrote:
> Isn't there already a signal to tell you when response headers are
> available?

Yes; I believe the readystate changes at this point and 
onreadystatechange is fired.

> Isn't it a bit redundant for the upload complete notification to be tied to the
> same signal?

Yes, sure.  But that the point when the browser knows the upload is 

> To support the use case of showing a progress meter, it seems helpful to
> know when the browser has finished writing bytes on the wire.

If you're willing to restart the meter from 0 in some cases, perhaps.

 > It also seems like it would be useful
> for there to be a "resend" event indicating that the upload will be
> resent.  Otherwise, one
> has to guess this.


Received on Tuesday, 21 June 2011 19:31:26 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:32 UTC