W3C home > Mailing lists > Public > public-html-commits@w3.org > January 2009

html5/spec Overview.html,1.1885,1.1886

From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 28 Jan 2009 01:38:23 +0000
To: public-html-commits@w3.org
Message-Id: <E1LRzNn-0003N3-VL@lionel-hutz.w3.org>

Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv12943

Modified Files:
	Overview.html 
Log Message:
Simplify the cache failure steps. (whatwg r2716)

Index: Overview.html
===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1885
retrieving revision 1.1886
diff -u -d -r1.1885 -r1.1886
--- Overview.html	28 Jan 2009 01:32:56 -0000	1.1885
+++ Overview.html	28 Jan 2009 01:38:21 -0000	1.1886
@@ -30746,89 +30746,59 @@
    status</a> of <var title="">cache group</var> to
    <i>idle</i>.</li>
 
-  </ol><p>The <dfn id=cache-failure-steps>cache failure steps</dfn> are as follows:<dl class=switch><dt>If this was a <a href=#concept-appcache-cache title=concept-appcache-cache>cache
-   attempt</a></dt>
-
-   <dd>
-
-    <ol><li><p>For each entry in <var title="">cache group</var>'s
-     <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending
-     master entries</a>, <a href=#queue-a-task>queue a task</a> to <a href=#fire-a-simple-event>fire
-     a simple event</a> called <code title=event-error><a href=#event-error>error</a></code> at the
-     <code><a href=#applicationcache>ApplicationCache</a></code> singleton of the <a href=#browsing-context>browsing
-     context</a> whose <a href=#active-document>active document</a> is the
-     <code>Document</code> for this entry, if there still is
-     one. The default action of this event should be the display of
-     some sort of user interface indicating to the user that the
-     user agent failed to save the application for offline
-     use.</li>
-
-     <li><p>If appropriate, remove any user interface indicating
-     that an update for this cache is in progress.</li>
-
-     <li><p>Discard <var title="">cache group</var> (and its
-     <a href=#application-cache>application cache</a>, if any).</p>
-
-     <li><p>Abort the update process.</li>
-
-    </ol></dd>
-
-   <dt>If this was an <a href=#concept-appcache-upgrade title=concept-appcache-upgrade>upgrade
-   attempt</a></dt>
-
-   <dd>
-
-    <ol><li>
+  </ol><p>The <dfn id=cache-failure-steps>cache failure steps</dfn> are as follows:<ol><li>
 
-      <p>For each entry in <var title="">cache group</var>'s <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending master
-      entries</a>, run the following further substeps.  These steps
-      may be run in parallel for two or more entries at a time.</p>
+    <p>For each entry in <var title="">cache group</var>'s <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending master
+    entries</a>, run the following further substeps.  These steps
+    may be run in parallel for two or more entries at a time.</p>
 
-      <ol><li><p>Wait for the resource for this entry to have completely
-       downloaded.</p>
+    <ol><li><p>Wait for the resource for this entry to have completely
+     downloaded.</p>
 
-       <li><p>Unassociate the <code>Document</code> for this entry
-       from its <a href=#application-cache>application cache</a>.</li>
+     <li><p>Unassociate the <code>Document</code> for this entry from
+     its <a href=#application-cache>application cache</a>, if it has one.</li>
 
-       <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple event</a>
-       called <code title=event-error><a href=#event-error>error</a></code> at the
-       <code><a href=#applicationcache>ApplicationCache</a></code> singleton of the <a href=#browsing-context>browsing
-       context</a> whose <a href=#active-document>active document</a> is the
-       <code>Document</code> for this entry, if there still is one. The
-       default action of this event should be the display of some sort
-       of user interface indicating to the user that the user agent
-       failed to save the application for offline use.</p>
+     <li><p><a href=#queue-a-task>Queue a task</a> to <a href=#fire-a-simple-event>fire a simple
+     event</a> called <code title=event-error><a href=#event-error>error</a></code> at the
+     <code><a href=#applicationcache>ApplicationCache</a></code> singleton of the <a href=#browsing-context>browsing
+     context</a> whose <a href=#active-document>active document</a> is the
+     <code>Document</code> for this entry, if there still is one. The
+     default action of these events should be the display of some sort
+     of user interface indicating to the user that the user agent
+     failed to save the application for offline use.</p>
 
-      </ol></li>
+    </ol></li>
 
-     <li><p>For each <a href=#browsing-context>browsing context</a> whose <a href=#active-document>active
-     document</a> is still 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> called <code title=event-error><a href=#event-error>error</a></code> at the
-     <code><a href=#applicationcache>ApplicationCache</a></code> singleton of the <a href=#browsing-context>browsing
-     context</a>. The default action of these events should be the
-     display of some sort of user interface indicating to the user
-     that the user agent failed to save the application for offline
-     use.</li>
+   <li><p>For each <a href=#browsing-context>browsing context</a> whose <a href=#active-document>active
+   document</a> is still 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> called <code title=event-error><a href=#event-error>error</a></code> at the
+   <code><a href=#applicationcache>ApplicationCache</a></code> singleton of the <a href=#browsing-context>browsing
+   context</a>. The default action of these events should be the
+   display of some sort of user interface indicating to the user that
+   the user agent failed to save the application for offline
+   use.</li>
 
-     <li><p>Empty <var title="">cache group</var>'s <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending master
-     entries</a>.</li>
+   <li><p>Empty <var title="">cache group</var>'s <a href=#concept-appcache-pending-masters title=concept-appcache-pending-masters>list of pending master
+   entries</a>.</li>
 
-     <li><p>If <var title="">cache group</var> has an
-     <a href=#application-cache>application cache</a> whose <a href=#concept-appcache-completeness title=concept-appcache-completeness>completeness flag</a> is
-     <i>incomplete</i>, then discard that <a href=#application-cache>application
-     cache</a>.</p>
+   <li><p>If <var title="">cache group</var> has an <a href=#application-cache>application
+   cache</a> whose <a href=#concept-appcache-completeness title=concept-appcache-completeness>completeness flag</a> is
+   <i>incomplete</i>, then discard that <a href=#application-cache>application
+   cache</a>.</p>
 
-     <li><p>If appropriate, remove any user interface indicating that
-     an update for this cache is in progress.</li>
+   <li><p>If appropriate, remove any user interface indicating that an
+   update for this cache is in progress.</li>
 
-     <li><p>Let the <a href=#concept-appcache-status title=concept-appcache-status>status</a> of <var title="">cache group</var> be <i>idle</i>.</li>
+   <li><p>Let the <a href=#concept-appcache-status title=concept-appcache-status>status</a> of <var title="">cache group</var> be <i>idle</i>.</li>
 
-     <li><p>Abort the update process.</li>
+   <li><p>If this was a <a href=#concept-appcache-cache title=concept-appcache-cache>cache
+   attempt</a>, discard <var title="">cache group</var>
+   altogether.</p>
 
-    </ol></dd>
+   <li><p>Abort the update process.</li>
 
-  </dl><p>Attempts to <a href=#fetch>fetch</a> resources as part of the
+  </ol><p>Attempts to <a href=#fetch>fetch</a> resources as part of the
   <a href=#application-cache-update-process>application cache update process</a> may be done with
   cache-defeating semantics, to avoid problems with stale or
   inconsistent intermediary caches.</p><hr><p>User agents may invoke the <a href=#application-cache-update-process>application cache update
Received on Wednesday, 28 January 2009 01:38:33 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 January 2009 01:38:35 GMT