W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2010

[whatwg] ProgressEvent for appcache - loadedItems vs loaded

From: Patrick Mueller <pmuellr@muellerware.org>
Date: Tue, 18 May 2010 15:36:51 -0400
Message-ID: <hsuq8k$q78$1@dough.gmane.org>
under 6.6.4 "Downloading or updating an application cache"
under "The application cache download process steps are as follows:"
under step 17: "The application cache download process steps are as
follows:"
under sub-step 2: "For each cache host associated with an application cache"

Discussion about using "lengthComputable", "total", and "loaded"
attributes of the ProgressEvent interface.

There is a new draft of the Progress events spec here:

    http://dev.w3.org/2006/webapi/progress/Progress.html

In this draft, two new attributes of the ProgressEvent interface have
been added: "loadedItems" and "totalItems". These attributes might be
better suited to be used rather than the "total" and "loaded" attributes.

Same for step 18, which indicates a final ProgressEvent should be sent
at the completion of the cache download process.

-- 
Patrick Mueller - http://muellerware.org
Received on Tuesday, 18 May 2010 12:36:51 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:23 UTC