[whatwg] ProgressEvent for appcache - loadedItems vs loaded

Patrick Mueller pmuellr at muellerware.org
Tue May 18 12:36:51 PDT 2010


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




More information about the whatwg mailing list