Skip to content

Commit

Permalink
[giow] (2) Make appcache no longer check for the MIME type.
Browse files Browse the repository at this point in the history
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=14701

git-svn-id: http://svn.whatwg.org/webapps@6823 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 11, 2011
1 parent 9f0410a commit 854c7d2
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 20 deletions.
16 changes: 10 additions & 6 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -66619,17 +66619,21 @@ <h4 id=downloading-or-updating-an-application-cache><span class=secno>6.6.4 </sp
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 &mdash; 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&nbsp;MANIFEST</code>"
string at the top of the file).</p>

</li>

<li>
Expand Down
16 changes: 10 additions & 6 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -66619,17 +66619,21 @@ NETWORK:
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 &mdash; 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&nbsp;MANIFEST</code>"
string at the top of the file).</p>

</li>

<li>
Expand Down
19 changes: 11 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -75627,14 +75627,9 @@ NETWORK:
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
Expand All @@ -75644,6 +75639,14 @@ NETWORK:
title="concept-appcache-onlinewhitelist-wildcard">online whitelist
wildcard flag</span>.</p>

<p class="note">The <span>MIME type</span> of the resource is
ignored &mdash; 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&nbsp;MANIFEST</code>"
string at the top of the file).</p>

</li>

<li>
Expand Down

0 comments on commit 854c7d2

Please sign in to comment.