Skip to content

Commit

Permalink
[] (0) Include progress information when updating the application cache.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@3648 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 17, 2009
1 parent 52e03b9 commit b852924
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 15 deletions.
19 changes: 12 additions & 7 deletions index
Expand Up @@ -50712,14 +50712,19 @@ style/default.css</pre>

<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>

Expand Down
23 changes: 15 additions & 8 deletions source
Expand Up @@ -57419,15 +57419,22 @@ style/default.css</pre>

<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>

Expand Down

0 comments on commit b852924

Please sign in to comment.