Re: Using progress events for other purposes

On Mon, 19 Oct 2009, Charles McCathieNevile wrote:
> On Mon, 19 Oct 2009 06:43:18 +0200, Ian Hickson <ian@hixie.ch> wrote:
> > On Mon, 19 Oct 2009, Charles McCathieNevile wrote:
> > > 
> > > OK, I'll work on it to try and get an editor's draft out tomorrow. 
> > > My rough idea is that you can send an event which has 
> > > lengthComputable false and totalItems / loadedItems, and IFF they 
> > > have lengthComputable true then the loaded and total refer to the 
> > > particular item - (does itemCount start from zero or one?)
> > 
> > So in a hypothetical system that gives progress for multiple large 
> > files in a row, you can't have a case where some of the files have 
> > unknown sizes?
> 
> Yes, you can.

How?

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

Received on Monday, 19 October 2009 08:12:38 UTC