- From: poot <cvsmail@w3.org>
- Date: Tue, 18 Aug 2009 07:43:35 +0900 (JST)
- To: public-html-diffs@w3.org
hixie: Include progress information when updating the application cache.
(whatwg r3648)
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2833&r2=1.2834&f=h
http://html5.org/tools/web-apps-tracker?from=3647&to=3648
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2833
retrieving revision 1.2834
diff -u -d -r1.2833 -r1.2834
--- Overview.html 17 Aug 2009 22:02:11 -0000 1.2833
+++ Overview.html 17 Aug 2009 22:43:09 -0000 1.2834
@@ -45739,14 +45739,19 @@
<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 <a href="#fire-a-simple-event">fire a simple
- event</a> that is cancelable called <code title="event-appcache-progress"><a href="#event-appcache-progress">progress</a></code> at the
+ 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 default action of these events should be the
- display of some sort of user interface indicating to the user
- that a file is being downloaded in preparation for updating the
- application.</li> <!-- XXX need to include progress
- information once progress spec is stable -->
+ host</a>. The <code title="dom-ProgressEvents-lengthComputable">lengthComputable</code>
+ attribute must be set to true, the <code title="dom-ProgressEvents-total">total</code> attribute must be
+ set to the number of files in <var title="">file list</var>, and
+ the <code title="dom-ProgressEvents-loaded">loaded</code>
+ attribute must be set to the number of number of files in <var title="">file list</var> that have been downloaded so far. The
+ default action of these events should be the display of some sort
+ of user interface indicating to the user that a file is being
+ downloaded in preparation for updating the application.</li>
<li>
Received on Monday, 17 August 2009 22:44:12 UTC