[html5] r7231 - [e] (0) Fix a few places that confused caches for cache groups. Fixing https://w [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Aug 9 09:49:34 PDT 2012
Author: ianh
Date: 2012-08-09 09:49:33 -0700 (Thu, 09 Aug 2012)
New Revision: 7231
Modified:
complete.html
index
source
Log:
[e] (0) Fix a few places that confused caches for cache groups.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15215
Affected topics: Offline Web Applications
Modified: complete.html
===================================================================
--- complete.html 2012-08-09 16:45:37 UTC (rev 7230)
+++ complete.html 2012-08-09 16:49:33 UTC (rev 7231)
@@ -72920,8 +72920,8 @@
inconsistent intermediary caches.</p>
<hr><p>User agents may invoke the <a href=#application-cache-download-process>application cache download
- process</a>, in the background, for any <a href=#application-cache>application
- cache</a>, at any time (with no <a href=#cache-host>cache host</a>). This
+ process</a>, in the background, for any <a href=#application-cache-group>application cache
+ group</a>, at any time (with no <a href=#cache-host>cache host</a>). This
allows user agents to keep caches primed and to update caches even
before the user visits a site.</p>
@@ -73353,21 +73353,24 @@
<hr><p>If the <dfn id=dom-appcache-update title=dom-appcache-update><code>update()</code></dfn> method is
invoked, the user agent must invoke the <a href=#application-cache-download-process>application cache
- download process</a>, in the background, for the <a href=#application-cache>application
+ download process</a>, in the background, for the
+ <a href=#application-cache-group>application cache group</a> of the <a href=#application-cache>application
cache</a> with which the <code><a href=#applicationcache>ApplicationCache</a></code> object's
<a href=#cache-host>cache host</a> is associated, but without giving that
<a href=#cache-host>cache host</a> to the algorithm. If there is no such
- <a href=#application-cache>application cache</a>, or if it is marked as <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>, then the method
+ <a href=#application-cache>application cache</a>, or if its <a href=#application-cache-group>application cache
+ group</a> is marked as <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>, then the method
must throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception instead.</p>
<p>If the <dfn id=dom-appcache-abort title=dom-appcache-abort><code>abort()</code></dfn>
method is invoked, the user agent must <dfn id=send-a-signal>send a signal</dfn> to
the current <a href=#application-cache-download-process>application cache download process</a> for the
- <a href=#application-cache>application cache</a> with which the
- <code><a href=#applicationcache>ApplicationCache</a></code> object's <a href=#cache-host>cache host</a> is
- associated, if any. If there is no such <a href=#application-cache>application
- cache</a>, or it does not have a current <a href=#application-cache-download-process>application cache
- download process</a>, then do nothing.</p>
+ <a href=#application-cache-group>application cache group</a> of the <a href=#application-cache>application
+ cache</a> with which the <code><a href=#applicationcache>ApplicationCache</a></code> object's
+ <a href=#cache-host>cache host</a> is associated, if any. If there is no such
+ <a href=#application-cache>application cache</a>, or it does not have a current
+ <a href=#application-cache-download-process>application cache download process</a>, then do
+ nothing.</p>
<p>If the <dfn id=dom-appcache-swapcache title=dom-appcache-swapCache><code>swapCache()</code></dfn> method
is invoked, the user agent must run the following steps:
Modified: index
===================================================================
--- index 2012-08-09 16:45:37 UTC (rev 7230)
+++ index 2012-08-09 16:49:33 UTC (rev 7231)
@@ -72920,8 +72920,8 @@
inconsistent intermediary caches.</p>
<hr><p>User agents may invoke the <a href=#application-cache-download-process>application cache download
- process</a>, in the background, for any <a href=#application-cache>application
- cache</a>, at any time (with no <a href=#cache-host>cache host</a>). This
+ process</a>, in the background, for any <a href=#application-cache-group>application cache
+ group</a>, at any time (with no <a href=#cache-host>cache host</a>). This
allows user agents to keep caches primed and to update caches even
before the user visits a site.</p>
@@ -73353,21 +73353,24 @@
<hr><p>If the <dfn id=dom-appcache-update title=dom-appcache-update><code>update()</code></dfn> method is
invoked, the user agent must invoke the <a href=#application-cache-download-process>application cache
- download process</a>, in the background, for the <a href=#application-cache>application
+ download process</a>, in the background, for the
+ <a href=#application-cache-group>application cache group</a> of the <a href=#application-cache>application
cache</a> with which the <code><a href=#applicationcache>ApplicationCache</a></code> object's
<a href=#cache-host>cache host</a> is associated, but without giving that
<a href=#cache-host>cache host</a> to the algorithm. If there is no such
- <a href=#application-cache>application cache</a>, or if it is marked as <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>, then the method
+ <a href=#application-cache>application cache</a>, or if its <a href=#application-cache-group>application cache
+ group</a> is marked as <a href=#concept-appcache-obsolete title=concept-appcache-obsolete>obsolete</a>, then the method
must throw an <code><a href=#invalidstateerror>InvalidStateError</a></code> exception instead.</p>
<p>If the <dfn id=dom-appcache-abort title=dom-appcache-abort><code>abort()</code></dfn>
method is invoked, the user agent must <dfn id=send-a-signal>send a signal</dfn> to
the current <a href=#application-cache-download-process>application cache download process</a> for the
- <a href=#application-cache>application cache</a> with which the
- <code><a href=#applicationcache>ApplicationCache</a></code> object's <a href=#cache-host>cache host</a> is
- associated, if any. If there is no such <a href=#application-cache>application
- cache</a>, or it does not have a current <a href=#application-cache-download-process>application cache
- download process</a>, then do nothing.</p>
+ <a href=#application-cache-group>application cache group</a> of the <a href=#application-cache>application
+ cache</a> with which the <code><a href=#applicationcache>ApplicationCache</a></code> object's
+ <a href=#cache-host>cache host</a> is associated, if any. If there is no such
+ <a href=#application-cache>application cache</a>, or it does not have a current
+ <a href=#application-cache-download-process>application cache download process</a>, then do
+ nothing.</p>
<p>If the <dfn id=dom-appcache-swapcache title=dom-appcache-swapCache><code>swapCache()</code></dfn> method
is invoked, the user agent must run the following steps:
Modified: source
===================================================================
--- source 2012-08-09 16:45:37 UTC (rev 7230)
+++ source 2012-08-09 16:49:33 UTC (rev 7231)
@@ -85382,8 +85382,8 @@
<hr>
<p>User agents may invoke the <span>application cache download
- process</span>, in the background, for any <span>application
- cache</span>, at any time (with no <span>cache host</span>). This
+ process</span>, in the background, for any <span>application cache
+ group</span>, at any time (with no <span>cache host</span>). This
allows user agents to keep caches primed and to update caches even
before the user visits a site.</p>
@@ -85886,22 +85886,25 @@
<p>If the <dfn
title="dom-appcache-update"><code>update()</code></dfn> method is
invoked, the user agent must invoke the <span>application cache
- download process</span>, in the background, for the <span>application
+ download process</span>, in the background, for the
+ <span>application cache group</span> of the <span>application
cache</span> with which the <code>ApplicationCache</code> object's
<span>cache host</span> is associated, but without giving that
<span>cache host</span> to the algorithm. If there is no such
- <span>application cache</span>, or if it is marked as <span
+ <span>application cache</span>, or if its <span>application cache
+ group</span> is marked as <span
title="concept-appcache-obsolete">obsolete</span>, then the method
must throw an <code>InvalidStateError</code> exception instead.</p>
<p>If the <dfn title="dom-appcache-abort"><code>abort()</code></dfn>
method is invoked, the user agent must <dfn>send a signal</dfn> to
the current <span>application cache download process</span> for the
- <span>application cache</span> with which the
- <code>ApplicationCache</code> object's <span>cache host</span> is
- associated, if any. If there is no such <span>application
- cache</span>, or it does not have a current <span>application cache
- download process</span>, then do nothing.</p>
+ <span>application cache group</span> of the <span>application
+ cache</span> with which the <code>ApplicationCache</code> object's
+ <span>cache host</span> is associated, if any. If there is no such
+ <span>application cache</span>, or it does not have a current
+ <span>application cache download process</span>, then do
+ nothing.</p>
<p>If the <dfn
title="dom-appcache-swapCache"><code>swapCache()</code></dfn> method
More information about the Commit-Watchers
mailing list