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

Re: [XHR2] XMLHttpRequest and progress events

From: Anne van Kesteren <annevk@opera.com>
Date: Fri, 28 Sep 2007 12:51:13 +0200
To: "Charles McCathieNevile" <chaals@opera.com>, "Maciej Stachowiak" <mjs@apple.com>
Cc: "Web API WG (public)" <public-webapi@w3.org>
Message-ID: <op.tzc1rno364w2qv@annevk-t60.oslo.opera.com>

On Fri, 28 Sep 2007 07:17:46 +0200, Charles McCathieNevile  
<chaals@opera.com> wrote:
> On Thu, 02 Aug 2007 23:20:14 +1000, Anne van Kesteren <annevk@opera.com>  
> wrote:
>> On Sun, 29 Jul 2007 03:04:14 +0200, Maciej Stachowiak <mjs@apple.com>
>>>> ...Can someone explain to me how the user agent knows how much  
>>>> content it already has uploaded?
>>> It would need the network layer to tell it.
>> Any suggestions on how to describe this in the specification?
> Why does it need to be in the specification?

The specification needs to describe when to dispatch these events.

> But if the UA doesn't know how much it has uploaded, is there a problem?  
> The progress spec doesn't actually give any clues about what to do in  
> that case (except not give a progress event if you have no idea that you  
> made progress, which is implicit rather than stated). Should it say  
> something else?

I've defined this as part of the send() algorithm (some time ago) in:


Anne van Kesteren
Received on Friday, 28 September 2007 10:51:36 UTC

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