[html5] r6823 - [giow] (2) Make appcache no longer check for the MIME type. Fixing http://www.w3 [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Nov 10 16:36:42 PST 2011


Author: ianh
Date: 2011-11-10 16:36:40 -0800 (Thu, 10 Nov 2011)
New Revision: 6823

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Make appcache no longer check for the MIME type.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14701

Modified: complete.html
===================================================================
--- complete.html	2011-11-11 00:13:03 UTC (rev 6822)
+++ complete.html	2011-11-11 00:36:40 UTC (rev 6823)
@@ -66619,17 +66619,21 @@
     request.</p> <!-- http-origin privacy sensitive, though it doesn't
     matter, since this can never be cross-origin -->
 
-    <p>If the resource is labeled with the <a href=#mime-type>MIME type</a>
-    <code><a href=#text/cache-manifest>text/cache-manifest</a></code>, either with no parameters or
-    with a single parameter with the name "<code title="">charset</code>" whose value is an <a href=#ascii-case-insensitive>ASCII
-    case-insensitive</a> match for the string "<code title="">utf-8</code>", parse <var title="">manifest</var>
-    according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing
-    manifests</a>, obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
+    <p>Parse <var title="">manifest</var> according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing manifests</a>,
+    obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
     <a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>fallback
     namespaces</a> that map to them, entries for the <a href=#concept-appcache-onlinewhitelist title=concept-appcache-onlinewhitelist>online whitelist</a>,
     and a value for the <a href=#concept-appcache-onlinewhitelist-wildcard title=concept-appcache-onlinewhitelist-wildcard>online whitelist
     wildcard flag</a>.</p>
 
+    <p class=note>The <a href=#mime-type>MIME type</a> of the resource is
+    ignored — it is assumed to be
+    <code><a href=#text/cache-manifest>text/cache-manifest</a></code>. In the future, if new manifest
+    formats are supported, the different types will probably be
+    distinguished on the basis of the file signatures (for the current
+    format, that is the "<code title="">CACHE MANIFEST</code>"
+    string at the top of the file).</p>
+
    </li>
 
    <li>

Modified: index
===================================================================
--- index	2011-11-11 00:13:03 UTC (rev 6822)
+++ index	2011-11-11 00:36:40 UTC (rev 6823)
@@ -66619,17 +66619,21 @@
     request.</p> <!-- http-origin privacy sensitive, though it doesn't
     matter, since this can never be cross-origin -->
 
-    <p>If the resource is labeled with the <a href=#mime-type>MIME type</a>
-    <code><a href=#text/cache-manifest>text/cache-manifest</a></code>, either with no parameters or
-    with a single parameter with the name "<code title="">charset</code>" whose value is an <a href=#ascii-case-insensitive>ASCII
-    case-insensitive</a> match for the string "<code title="">utf-8</code>", parse <var title="">manifest</var>
-    according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing
-    manifests</a>, obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
+    <p>Parse <var title="">manifest</var> according to the <a href=#parse-a-manifest title="parse a manifest">rules for parsing manifests</a>,
+    obtaining a list of <a href=#concept-appcache-explicit title=concept-appcache-explicit>explicit entries</a>, <a href=#concept-appcache-fallback title=concept-appcache-fallback>fallback entries</a> and the
     <a href=#concept-appcache-fallback-ns title=concept-appcache-fallback-ns>fallback
     namespaces</a> that map to them, entries for the <a href=#concept-appcache-onlinewhitelist title=concept-appcache-onlinewhitelist>online whitelist</a>,
     and a value for the <a href=#concept-appcache-onlinewhitelist-wildcard title=concept-appcache-onlinewhitelist-wildcard>online whitelist
     wildcard flag</a>.</p>
 
+    <p class=note>The <a href=#mime-type>MIME type</a> of the resource is
+    ignored — it is assumed to be
+    <code><a href=#text/cache-manifest>text/cache-manifest</a></code>. In the future, if new manifest
+    formats are supported, the different types will probably be
+    distinguished on the basis of the file signatures (for the current
+    format, that is the "<code title="">CACHE MANIFEST</code>"
+    string at the top of the file).</p>
+
    </li>
 
    <li>

Modified: source
===================================================================
--- source	2011-11-11 00:13:03 UTC (rev 6822)
+++ source	2011-11-11 00:36:40 UTC (rev 6823)
@@ -75627,14 +75627,9 @@
     request.</p> <!-- http-origin privacy sensitive, though it doesn't
     matter, since this can never be cross-origin -->
 
-    <p>If the resource is labeled with the <span>MIME type</span>
-    <code>text/cache-manifest</code>, either with no parameters or
-    with a single parameter with the name "<code
-    title="">charset</code>" whose value is an <span>ASCII
-    case-insensitive</span> match for the string "<code
-    title="">utf-8</code>", parse <var title="">manifest</var>
-    according to the <span title="parse a manifest">rules for parsing
-    manifests</span>, obtaining a list of <span
+    <p>Parse <var title="">manifest</var> according to the <span
+    title="parse a manifest">rules for parsing manifests</span>,
+    obtaining a list of <span
     title="concept-appcache-explicit">explicit entries</span>, <span
     title="concept-appcache-fallback">fallback entries</span> and the
     <span title="concept-appcache-fallback-ns">fallback
@@ -75644,6 +75639,14 @@
     title="concept-appcache-onlinewhitelist-wildcard">online whitelist
     wildcard flag</span>.</p>
 
+    <p class="note">The <span>MIME type</span> of the resource is
+    ignored — it is assumed to be
+    <code>text/cache-manifest</code>. In the future, if new manifest
+    formats are supported, the different types will probably be
+    distinguished on the basis of the file signatures (for the current
+    format, that is the "<code title="">CACHE MANIFEST</code>"
+    string at the top of the file).</p>
+
    </li>
 
    <li>




More information about the Commit-Watchers mailing list