Re: [XHR2] final progress events

On Thu, 17 Mar 2011 19:40:23 +0100, Glenn Maynard <glenn@zewt.org> wrote:
> I suggest requiring that a progress event be fired when loaded ==
> total, regardless of the 50ms interval timer.  WebKit appears to
> already do this in all cases: xhr.onprogress is always sent before
> readyState is changed to DONE, and xhr.upload.onprogress is always
> sent before onload.

I think we would also want to dispatch it just before timeout, error, and  
abort, no? HTML and the File API would probably also be affected by this  
somehow. File API being modeled after XMLHttpRequest, and XMLHttpRequest  
after HTML...


-- 
Anne van Kesteren
http://annevankesteren.nl/

Received on Tuesday, 21 June 2011 16:02:32 UTC