[html5] r4048 - [e] (0) Include explicit text about how swapCache() doesn't change anything but [...]

whatwg at whatwg.org whatwg at whatwg.org
Tue Sep 29 03:10:31 PDT 2009


Author: ianh
Date: 2009-09-29 03:10:29 -0700 (Tue, 29 Sep 2009)
New Revision: 4048

Modified:
   index
   source
Log:
[e] (0) Include explicit text about how swapCache() doesn't change anything but the active cache.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=7725

Modified: index
===================================================================
--- index	2009-09-29 10:08:21 UTC (rev 4047)
+++ index	2009-09-29 10:10:29 UTC (rev 4048)
@@ -53622,8 +53622,16 @@
    <dt><var title="">cache</var> . <code title=dom-appcache-swapCache><a href=#dom-appcache-swapcache>swapCache</a></code>()</dt>
    <dd>
 
-    <p>Switches to the most recent application cache, if there is a newer one. If there isn't, throws an <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception.</p>
+    <p>Switches to the most recent application cache, if there is a
+    newer one. If there isn't, throws an
+    <code><a href=#invalid_state_err>INVALID_STATE_ERR</a></code> exception.</p>
 
+    <p>This does not cause previously-loaded resources to be reloaded;
+    for example, images do not suddenly get reloaded and style sheets
+    and scripts do not get reparsed or reevaluated. The only change is
+    that subsequent requests for cached resources will obtain the
+    newer copies.</p>
+
    </dd>
 
   </dl><div class=impl>

Modified: source
===================================================================
--- source	2009-09-29 10:08:21 UTC (rev 4047)
+++ source	2009-09-29 10:10:29 UTC (rev 4048)
@@ -60663,8 +60663,16 @@
    <dt><var title="">cache</var> . <code title="dom-appcache-swapCache">swapCache</code>()</dt>
    <dd>
 
-    <p>Switches to the most recent application cache, if there is a newer one. If there isn't, throws an <code>INVALID_STATE_ERR</code> exception.</p>
+    <p>Switches to the most recent application cache, if there is a
+    newer one. If there isn't, throws an
+    <code>INVALID_STATE_ERR</code> exception.</p>
 
+    <p>This does not cause previously-loaded resources to be reloaded;
+    for example, images do not suddenly get reloaded and style sheets
+    and scripts do not get reparsed or reevaluated. The only change is
+    that subsequent requests for cached resources will obtain the
+    newer copies.</p>
+
    </dd>
 
   </dl>




More information about the Commit-Watchers mailing list