W3C home > Mailing lists > Public > public-webapi@w3.org > March 2007

Re: upload progress events

From: Charles McCathieNevile <chaals@opera.com>
Date: Tue, 06 Mar 2007 15:46:57 +1100
To: "Maciej Stachowiak" <mjs@apple.com>, "web API" <public-webapi@w3.org>
Message-ID: <op.toq3kjjawxe0ny@widsith.local>

On Tue, 06 Mar 2007 12:49:08 +1100, Maciej Stachowiak <mjs@apple.com> wrote:

> Anne, Ian and I were discussing the fact that the Progress Events
> spec requires duplicates of every event for upload as well as
> download. This makes the spec a fair bit more complicated, especially
> if it ends up specifying a number of different progress events.
> As far as I know, this feature is only needed for XMLHttpRequest,
> since it's the only obvious element we can think of that does both
> upload and download, and where it's important to keep the two separate.
> However, we thought of a possible alternate design that might cover
> this case better. In brief, the idea is to use the same set of events
> for upload and download, but to provide a separate EventTarget
> attached to the XMLHttpRequest object, which is the target all the
> upload-related events; XHR itself only dispatches the download events.
> This would require a change in XHR to adopt the Progress Events spec,
> but would considerably simplify Progress Events. Thoughts?

Works for me...


  Charles McCathieNevile, Opera Software: Standards Group
  hablo español  -  je parle français  -  jeg lærer norsk
chaals@opera.com          Try Opera 9.1     http://opera.com
Received on Tuesday, 6 March 2007 04:47:09 UTC

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