W3C home > Mailing lists > Public > public-webapi@w3.org > May 2007

Re: upload progress events

From: Anne van Kesteren <annevk@opera.com>
Date: Wed, 09 May 2007 13:43:01 +0200
To: Olli.Pettay@iki.fi, public-webapi@w3.org
Message-ID: <op.tr15hzgn64w2qv@id-c0020.guest-int.opera.no>

On Wed, 09 May 2007 13:31:43 +0200, Olli Pettay <Olli.Pettay@helsinki.fi>  
wrote:
> What the upload event target would look like?
> I think there should be some way to get from upload to the xhr object to  
> identify what xhr the upload object is related to.
> So maybe something like
>
> [...]
>
> This is probably something to be defined in XHR2,
> so probably for gecko it is better to keep dispatching
> "uploadprogress" to xhr.

I don't think the upload event target needs onreadystatechange. It will  
get all the event types defined in the following specification:

   http://www.w3.org/TR/progress-events/

So I would move to onreadystatechange to XMLHttpRequest. The rest seems ok  
to me on first sight.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 9 May 2007 11:43:22 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:18:57 GMT