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

Reply via email to