W3C home > Mailing lists > Public > public-webapi@w3.org > May 2008

Re: [progress-events] loaded member misnamed?

From: Olli Pettay <Olli.Pettay@helsinki.fi>
Date: Wed, 28 May 2008 21:15:22 +0300
Message-ID: <483DA13A.5050200@helsinki.fi>
To: Anne van Kesteren <annevk@opera.com>
CC: "Web API WG (public)" <public-webapi@w3.org>



Anne van Kesteren wrote:
> 
> Hi,
> 
> Yesterday someone contacted me on IRC about implementing 
> XMLHttpRequest.upload from XMLHttpRequest Level 2. 

It was me :)
I'll go through XHR2 and PE tomorrow and give possibly more comments.

> It turns out that the 
> Progress Events specification is not generic enough for both uploading 
> and downloading as we agreed it should be long ago.
> 
> The ProgressEvent.loaded member should probably be defined in a more 
> abstract way and I would actually suggest to rename it to 
> ProgressEvent.transferred so it's clear that it is about transferred data.

Thanks, Anne, for bringing up this issue here already.

-Olli
Received on Wednesday, 28 May 2008 18:29:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 May 2008 18:29:10 GMT