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

Re: [XHR2] final progress events

From: Anne van Kesteren <annevk@opera.com>
Date: Tue, 21 Jun 2011 18:01:47 +0200
To: public-webapps@w3.org, "Glenn Maynard" <glenn@zewt.org>
Message-ID: <op.vxfn49f164w2qv@anne-van-kesterens-macbook-pro.local>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT