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

Re: XMLHttpRequest progress events

From: Maciej Stachowiak <mjs@apple.com>
Date: Mon, 24 Apr 2006 13:17:38 -0700
Message-Id: <B5D24588-B077-4B87-B06A-5DC7198800CC@apple.com>
Cc: "Web APIs WG (public)" <public-webapi@w3.org>
To: Bjoern Hoehrmann <derhoermi@gmx.net>

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.

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:16:21 UTC