[html5] r3648 - [] (0) Include progress information when updating the application cache.
whatwg at whatwg.org
whatwg at whatwg.org
Mon Aug 17 15:43:06 PDT 2009
Author: ianh
Date: 2009-08-17 15:43:04 -0700 (Mon, 17 Aug 2009)
New Revision: 3648
Modified:
index
source
Log:
[] (0) Include progress information when updating the application cache.
Modified: index
===================================================================
--- index 2009-08-17 22:02:05 UTC (rev 3647)
+++ index 2009-08-17 22:43:04 UTC (rev 3648)
@@ -50712,14 +50712,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>
Modified: source
===================================================================
--- source 2009-08-17 22:02:05 UTC (rev 3647)
+++ source 2009-08-17 22:43:04 UTC (rev 3648)
@@ -57419,15 +57419,22 @@
<li><p>For each <span>cache host</span> associated with an
<span>application cache</span> in <var title="">cache
- group</var>, <span>queue a task</span> to <span>fire a simple
- event</span> that is cancelable called <code
- title="event-appcache-progress">progress</code> at the
+ group</var>, <span>queue a task</span> to fire an event with the
+ name <code title="event-appcache-progress">progress</code>, with
+ no namespace, which does not bubble, which is cancelable, and
+ which uses the <code>ProgressEvent</code> interface, at the
<code>ApplicationCache</code> singleton of the <span>cache
- host</span>. 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.</p></li> <!-- XXX need to include progress
- information once progress spec is stable -->
+ host</span>. 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.</p></li>
<li>
More information about the Commit-Watchers
mailing list