W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2009

Re: Using progress events for other purposes

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 18 Oct 2009 22:08:38 +0000 (UTC)
To: Charles McCathieNevile <chaals@opera.com>
Cc: WebApps WG <public-webapps@w3.org>
Message-ID: <Pine.LNX.4.62.0910182203490.3716@hixie.dreamhostps.com>
On Sun, 18 Oct 2009, Charles McCathieNevile wrote:
> I propose to add the attributes totalItems and loadedItems to preogress 
> events, as a way of dealing with use cases like showing progress in 
> downloading an application cache. This allows for firing progress events 
> which have total/loaded values on individual items, by defining them as 
> referring to the current item in the presence of the totalItems / 
> loadedItems.
> Does that work for the use case?

That would work for appcache, yeah. We'd need to make sure the spec was 
clear about what the other attributes should be set to in this situation, 
too, since in appcache they is only one event per file.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 18 October 2009 21:56:44 UTC

This archive was generated by hypermail 2.3.1 : Friday, 27 October 2017 07:26:20 UTC