Re: XMLHttpRequest progress events

On Apr 24, 2006, at 10:12 AM, Bjoern Hoehrmann wrote:

> * 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.

What precision would you propose? It has to be defined to be able to  
give a size to the user.

Regards,
Maciej

Received on Monday, 24 April 2006 20:17:51 UTC