Skip to content

Commit

Permalink
[giow] (1) Handle the race condition of a manifest becoming 404 while…
Browse files Browse the repository at this point in the history
… a page that uses it is loading.

git-svn-id: http://svn.whatwg.org/webapps@5286 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 12, 2010
1 parent e236f46 commit ff22b2f
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 15 deletions.
17 changes: 12 additions & 5 deletions complete.html
Expand Up @@ -62239,6 +62239,12 @@ <h4 id=downloading-or-updating-an-application-cache><span class=secno>6.6.4 </sp
identify the <a href=#application-cache-group>application cache group</a> to be
updated.</p>

<p>If that <a href=#application-cache-group>application cache group</a> is <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>, then abort
this instance of the <a href=#application-cache-download-process>application cache download
process</a>. This can happen if another instance of this
algorithm found the manifest to be 404 or 410 while this
algorithm was waiting in the first step above.</p>

</dd>

</dl></li>
Expand Down Expand Up @@ -62942,11 +62948,12 @@ <h4 id=the-application-cache-selection-algorithm><span class=secno>6.6.5 </span>


<dt>If <var title="">document</var> was loaded from an
<a href=#application-cache>application cache</a><!--[redundant], and either there is
no <var title="">manifest URL</var>, or the URL of the <span
title="concept-appcache-manifest">manifest</span> of the cache's
<span>application cache group</span> is the same as <var
title="">manifest URL</var>--></dt>
<a href=#application-cache>application cache</a>, and that <a href=#application-cache>application
cache</a> still exists (it is not now <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>)<!--[redundant],
and either there is no <var title="">manifest URL</var>, or the URL
of the <span title="concept-appcache-manifest">manifest</span> of
the cache's <span>application cache group</span> is the same as
<var title="">manifest URL</var>--></dt>

<dd>

Expand Down
17 changes: 12 additions & 5 deletions index
Expand Up @@ -62175,6 +62175,12 @@ NETWORK:
identify the <a href=#application-cache-group>application cache group</a> to be
updated.</p>

<p>If that <a href=#application-cache-group>application cache group</a> is <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>, then abort
this instance of the <a href=#application-cache-download-process>application cache download
process</a>. This can happen if another instance of this
algorithm found the manifest to be 404 or 410 while this
algorithm was waiting in the first step above.</p>

</dd>

</dl></li>
Expand Down Expand Up @@ -62878,11 +62884,12 @@ NETWORK:


<dt>If <var title="">document</var> was loaded from an
<a href=#application-cache>application cache</a><!--[redundant], and either there is
no <var title="">manifest URL</var>, or the URL of the <span
title="concept-appcache-manifest">manifest</span> of the cache's
<span>application cache group</span> is the same as <var
title="">manifest URL</var>--></dt>
<a href=#application-cache>application cache</a>, and that <a href=#application-cache>application
cache</a> still exists (it is not now <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>)<!--[redundant],
and either there is no <var title="">manifest URL</var>, or the URL
of the <span title="concept-appcache-manifest">manifest</span> of
the cache's <span>application cache group</span> is the same as
<var title="">manifest URL</var>--></dt>

<dd>

Expand Down
19 changes: 14 additions & 5 deletions source
Expand Up @@ -70351,6 +70351,13 @@ NETWORK:
identify the <span>application cache group</span> to be
updated.</p>

<p>If that <span>application cache group</span> is <span
title="concept-appcache-obsolete">obsolete</span>, then abort
this instance of the <span>application cache download
process</span>. This can happen if another instance of this
algorithm found the manifest to be 404 or 410 while this
algorithm was waiting in the first step above.</p>

</dd>

</dl>
Expand Down Expand Up @@ -71200,11 +71207,13 @@ NETWORK:


<dt>If <var title="">document</var> was loaded from an
<span>application cache</span><!--[redundant], and either there is
no <var title="">manifest URL</var>, or the URL of the <span
title="concept-appcache-manifest">manifest</span> of the cache's
<span>application cache group</span> is the same as <var
title="">manifest URL</var>--></dt>
<span>application cache</span>, and that <span>application
cache</span> still exists (it is not now <span
title="concept-appcache-obsolete">obsolete</span>)<!--[redundant],
and either there is no <var title="">manifest URL</var>, or the URL
of the <span title="concept-appcache-manifest">manifest</span> of
the cache's <span>application cache group</span> is the same as
<var title="">manifest URL</var>--></dt>

<dd>

Expand Down

0 comments on commit ff22b2f

Please sign in to comment.