hixie: appcache: make sure to strip the fragment component from manifest='' when init'ing the appcache. (whatwg r3480)

hixie: appcache: make sure to strip the fragment component from
manifest='' when init'ing the appcache. (whatwg r3480)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2682&r2=1.2683&f=h
http://html5.org/tools/web-apps-tracker?from=3479&to=3480

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2682
retrieving revision 1.2683
diff -u -d -r1.2682 -r1.2683
--- Overview.html 28 Jul 2009 00:57:17 -0000 1.2682
+++ Overview.html 28 Jul 2009 21:35:29 -0000 1.2683
@@ -46811,8 +46811,9 @@
   into the document</a>, the user agent must <a href="#resolve-a-url" title="resolve a
   url">resolve</a> the value of that attribute relative to that
   element, and if that is successful, must 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> as the
-  manifest URL, and passing in the newly-created
+  algorithm</a> with the resulting <a href="#absolute-url">absolute URL</a> with
+  any <a href="#url-fragment" title="url-fragment">&lt;fragment&gt;</a> component
+  removed as the manifest URL, and passing in the newly-created
   <code>Document</code>. Otherwise, if the attribute is absent or
   resolving it fails, then as soon as the root element is <a href="#insert-an-element-into-a-document" title="insert an element into a document">inserted into the
   document</a>, the user agent must run the <a href="#concept-appcache-init" title="concept-appcache-init">application cache selection
@@ -55818,11 +55819,12 @@
     then <a href="#resolve-a-url" title="resolve a url">resolve</a> the value of that
     attribute to an <a href="#absolute-url">absolute URL</a>, relative to the newly
     created element, 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>
+    algorithm</a> with the resulting <a href="#absolute-url">absolute URL</a> with
+    any <a href="#url-fragment" title="url-fragment">&lt;fragment&gt;</a> component
+    removed; 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>
 
     <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>".</p>

Received on Tuesday, 28 July 2009 21:45:33 UTC