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

Re: XMLHttpRequest progress events

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 24 Apr 2006 19:12:58 +0200
To: Maciej Stachowiak <mjs@apple.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
Message-ID: <6h1q42tnot83i2aeh4e6leqk87gkaeb575@hive.bjoern.hoehrmann.de>

* Maciej Stachowiak wrote:
>That's not 64-bit clean. In WebKit at least our network library can  
>support correctly reporting progress for files that are larger than  
>2^32-1. Seems like a bad idea to limit this with large media files  
>and large amounts of memory becoming more and more common. This  
>probably argues against using LSProgressEvent as-is. It's too bad  
>they used "unsigned long" (which is a 32-bit integer type in OMG IDL).

It rather seems like a bad idea to report progress of multi-gigabyte
downloads with byte-precision. DOM Level 3 Load and Save does not de-
fine that the attributes represent a number of octets.
-- 
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 Monday, 24 April 2006 17:13:02 GMT

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