spec/Overview.html 1.1862 2692 Big revamp of how Application Caches wor

Big revamp of how Application Caches work. The core of the algorithm is
the same, but it is described quite differently and the edge cases
should be smoother now. (whatwg r2692)

If the Document is being loaded as part of navigation of a browsing context, then: if the token has an attribute "manifest", then resolve the value of that attribute to an absolute URL, and if that is successful, run the application cache selection algorithm with the resulting absolute URL; otherwise, if there is no such attribute or resolving it fails, run the application cache selection algorithm with no manifest. The algorithm must be passed the Document object.
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1862.html#parser-appcache

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1861&r2=1.1862&f=h
http://html5.org/tools/web-apps-tracker?from=2691&to=2692

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1861
retrieving revision 1.1862
diff -u -d -r1.1861 -r1.1862
--- Overview.html 22 Jan 2009 01:24:26 -0000 1.1861
+++ Overview.html 22 Jan 2009 12:27:33 -0000 1.1862
@@ -631,11 +631,12 @@
        <li><a href=#writing-cache-manifests><span class=secno>5.7.3.2 </span>Writing cache manifests</a></li>
        <li><a href=#parsing-cache-manifests><span class=secno>5.7.3.3 </span>Parsing cache manifests</a></ol></li>
      <li><a href=#updating-an-application-cache><span class=secno>5.7.4 </span>Updating an application cache</a></li>
-     <li><a href=#processing-model-2><span class=secno>5.7.5 </span>Processing model</a>
+     <li><a href=#matching-a-fallback-namespace><span class=secno>5.7.5 </span>Matching a fallback namespace</a></li>
+     <li><a href=#the-application-cache-selection-algorithm><span class=secno>5.7.6 </span>The application cache selection algorithm</a>
       <ol>
-       <li><a href=#changesToNetworkingModel><span class=secno>5.7.5.1 </span>Changes to the networking model</a></ol></li>
-     <li><a href=#application-cache-api><span class=secno>5.7.6 </span>Application cache API</a></li>
-     <li><a href=#browser-state><span class=secno>5.7.7 </span>Browser state</a></ol></li>
+       <li><a href=#changesToNetworkingModel><span class=secno>5.7.6.1 </span>Changes to the networking model</a></ol></li>
[...1174 lines suppressed...]
+    value of that attribute to an <a href=#absolute-url>absolute URL</a>, and if
+    that is successful, run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
+    algorithm</a> with the resulting <a href=#absolute-url>absolute URL</a>;
+    otherwise, if there is no such attribute or resolving it fails,
+    run the <a href=#concept-appcache-init title=concept-appcache-init>application cache
     selection algorithm</a> with no manifest. The algorithm must be
     passed the <code>Document</code> object.</p>
 
@@ -40079,8 +40172,9 @@
     to the <code>Document</code> object. Put this element in the
     <a href=#stack-of-open-elements>stack of open elements</a>.</p>
 
-    <p>Run the <a href=#concept-appcache-init-no-attribute title=concept-appcache-init-no-attribute>application cache
-    selection algorithm</a> with no manifest, passing it the
+    <p>If the <code>Document</code> is being loaded as part of <a href=#navigate title=navigate>navigation</a> of a <a href=#browsing-context>browsing
+    context</a>, then: run the <a href=#concept-appcache-init title=concept-appcache-init>application cache selection
+    algorithm</a> with no manifest, passing it the
     <code>Document</code> object.</p>
 
     <p>Switch the <a href=#insertion-mode>insertion mode</a> to "<a href=#the-before-head-insertion-mode title="insertion mode: before head">before head</a>", then

Received on Thursday, 22 January 2009 12:30:58 UTC