Re: Using progress events for other purposes

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