hixie: Add a progress event at the end of all the caching, so that progress bars complete. (whatwg r4064)

hixie: Add a progress event at the end of all the caching, so that
progress bars complete. (whatwg r4064)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3225&r2=1.3226&f=h
http://html5.org/tools/web-apps-tracker?from=4063&to=4064

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.3225
retrieving revision 1.3226
diff -u -d -r1.3225 -r1.3226
--- Overview.html 30 Sep 2009 09:57:14 -0000 1.3225
+++ Overview.html 30 Sep 2009 10:05:11 -0000 1.3226
@@ -47994,6 +47994,20 @@
 
     </ol></li>
 
+   <li><p>For each <a href="#cache-host">cache host</a> associated with an
+   <a href="#application-cache">application cache</a> in <var title="">cache group</var>,
+   <a href="#queue-a-task">queue a task</a> to fire an event with the name <code title="event-appcache-progress"><a href="#event-appcache-progress">progress</a></code>, with no namespace,
+   which does not bubble, which is cancelable, and which uses the
+   <code>ProgressEvent</code> interface, at the
+   <code><a href="#applicationcache">ApplicationCache</a></code> singleton of the <a href="#cache-host">cache
+   host</a>. The <code title="dom-ProgressEvents-lengthComputable">lengthComputable</code>
+   attribute must be set to true, the <code title="dom-ProgressEvents-total">total</code> and the <code title="dom-ProgressEvents-loaded">loaded</code> attributes must be
+   set to the number of number of files in <var title="">file
+   list</var>. The default action of these events must be, if the user
+   agent <a href="#shows-caching-progress">shows caching progress</a>, the display of some sort
+   of user interface indicating to the user that all the files have
+   been downloaded.</li>
+
    <li><p>Store the list of <a href="#concept-appcache-fallback-ns" title="concept-appcache-fallback-ns">fallback namespaces</a>,
    and the URLs of the <a href="#concept-appcache-fallback" title="concept-appcache-fallback">fallback entries</a> that they
    map to, in <var title="">new cache</var>.</li>

Received on Wednesday, 30 September 2009 10:05:51 UTC