Re: upload progress events

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 UTC