[progress-events] loaded member misnamed?

Hi,

Yesterday someone contacted me on IRC about implementing  
XMLHttpRequest.upload from XMLHttpRequest Level 2. 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.

(I also still feel that total and lengthComputable should be named in a  
more consistent way, e.g. total and totalKnown.)

Kind regards,


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Wednesday, 28 May 2008 11:01:10 UTC