W3C home > Mailing lists > Public > public-webapi@w3.org > April 2006

Re: XMLHttpRequest progress events

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 25 Apr 2006 10:26:24 +0200
To: Jonas Sicking <jonas@sicking.cc>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <97nr42hjdi3hqm9ilambcqv372ur0mg7sk@hive.bjoern.hoehrmann.de>

* Jonas Sicking wrote:
>In many cases the user might know the size even if the implementation 
>does not. Or it is even imaginable that the script knows the size even 
>if the XHR class does not. In both these cases the number of bytes 
>transferred is useful to present.

Right, they have currentSize = knownSize * position/total for that, no?
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Tuesday, 25 April 2006 08:33:15 GMT

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