[html5] r2414 - [gw] (2) Make <iframe>s not inherit the cache of their parent.

whatwg at whatwg.org whatwg at whatwg.org
Mon Nov 17 20:05:58 PST 2008


Author: ianh
Date: 2008-11-17 20:05:57 -0800 (Mon, 17 Nov 2008)
New Revision: 2414

Modified:
   index
   source
Log:
[gw] (2) Make <iframe>s not inherit the cache of their parent.

Modified: index
===================================================================
--- index	2008-11-18 03:40:53 UTC (rev 2413)
+++ index	2008-11-18 04:05:57 UTC (rev 2414)
@@ -35384,7 +35384,7 @@
 
   </div>
 
-  <p>When the <dfn id=concept-appcache-init-with-attribute title=concept-appcache-init-with-attribute>application cache
+  <hr><p>When the <dfn id=concept-appcache-init-with-attribute title=concept-appcache-init-with-attribute>application cache
   selection algorithm</dfn> algorithm is invoked with a manifest URL,
   the user agent must run the first applicable set of steps from the
   following list:</p>
@@ -35393,7 +35393,9 @@
    <a href=#browsing-context>browsing context</a></dt>
 
    <dd>
+
     <p>Do nothing.</p>
+
    </dd>
 
 
@@ -35465,51 +35467,23 @@
    </dd>
 
   </dl><p>When the <dfn id=concept-appcache-init-no-attribute title=concept-appcache-init-no-attribute>application cache
-  selection algorithm</dfn> is invoked <em>without</em> a manifest,
-  then the user agent must run the first applicable set of steps from
-  the following list:</p>
+  selection algorithm</dfn> is invoked <em>without</em> a manifest, if
+  the resource is being loaded as part of navigation of a
+  <a href=#browsing-context>browsing context</a>, and the resource was fetched from a
+  particular <a href=#application-cache>application cache</a>, then the user agent must
+  associate the <code>Document</code> with that application cache and
+  invoke the <a href=#application-cache-update-process>application cache update process</a> for that
+  cache, with that <a href=#browsing-context>browsing context</a>. Otherwise, nothing
+  special happens.</p>
 
-  <dl><dt>If the resource is being loaded as part of navigation of a
-   <a href=#browsing-context>browsing context</a>, and the resource was fetched from a
-   particular <a href=#application-cache>application cache</a></dt>
 
-   <dd>
 
-    <!-- this can only happen for subframes -->
+  <h5 id=changesToNetworkingModel><span class=secno>5.7.5.1 </span>Changes to the networking model</h5>
 
-    <p>The user agent must associate the <code>Document</code> with
-    that application cache and invoke the <a href=#application-cache-update-process>application cache
-    update process</a> for that cache, with that <a href=#browsing-context>browsing
-    context</a>.</p>
-
-   </dd>
-
-   <dt>If the resource is being loaded as part of navigation of a
-   <a href=#child-browsing-context>child browsing context</a></dt>
-
-   <dd>
-
-    <!-- e.g. iframes to online whitelisted resources -->
-
-    <p>The user agent must associate the <code>Document</code> with
-    that application cache associated with the <a href=#active-document>active
-    document</a> of the <a href=#parent-browsing-context>parent browsing context</a>.</p>
-
-   </dd>
-
-   <dt>Otherwise</dt>
-
-   <dd>
-
-    <p>Nothing special happens with respect to application caches.</p>
-
-   </dd>
-
-  </dl><h5 id=changesToNetworkingModel><span class=secno>5.7.5.1 </span>Changes to the networking model</h5>
-
   <p>When a <a href=#browsing-context>browsing context</a> is associated with an
-  <a href=#application-cache>application cache</a>, any and all resource loads must go
-  through the following steps instead of immediately invoking the
+  <a href=#application-cache>application cache</a>, any and all loads for resources in
+  that <a href=#browsing-context>browsing context</a> other than those for <a href=#child-browsing-context title="child browsing context">child browsing contexts</a> must
+  go through the following steps instead of immediately invoking the
   mechanisms appropriate to that resource's scheme:</p>
 
   <ol><li><p>If the resource is not to be fetched using the HTTP GET
@@ -35604,10 +35578,7 @@
   object that the <code><a href=#applicationcache>ApplicationCache</a></code> object maps to is
   associated with an application cache, then that is the application
   cache with which the <code><a href=#applicationcache>ApplicationCache</a></code> object is
-  associated. Otherwise, the <code><a href=#applicationcache>ApplicationCache</a></code> object is
-  associated with the application cache that the <code>Document</code>
-  object's <a href=#browsing-context>browsing context</a> is associated with, if
-  any.</p>
+  associated.</p>
 
   <p>The <dfn id=dom-appcache-status title=dom-appcache-status><code>status</code></dfn>
   attribute, on getting, must return the current state of the

Modified: source
===================================================================
--- source	2008-11-18 03:40:53 UTC (rev 2413)
+++ source	2008-11-18 04:05:57 UTC (rev 2414)
@@ -40240,6 +40240,8 @@
 
   </div>
 
+  <hr>
+
   <p>When the <dfn
   title="concept-appcache-init-with-attribute">application cache
   selection algorithm</dfn> algorithm is invoked with a manifest URL,
@@ -40252,7 +40254,9 @@
    <span>browsing context</span></dt>
 
    <dd>
+
     <p>Do nothing.</p>
+
    </dd>
 
 
@@ -40335,57 +40339,24 @@
 
   <p>When the <dfn
   title="concept-appcache-init-no-attribute">application cache
-  selection algorithm</dfn> is invoked <em>without</em> a manifest,
-  then the user agent must run the first applicable set of steps from
-  the following list:</p>
+  selection algorithm</dfn> is invoked <em>without</em> a manifest, if
+  the resource is being loaded as part of navigation of a
+  <span>browsing context</span>, and the resource was fetched from a
+  particular <span>application cache</span>, then the user agent must
+  associate the <code>Document</code> with that application cache and
+  invoke the <span>application cache update process</span> for that
+  cache, with that <span>browsing context</span>. Otherwise, nothing
+  special happens.</p>
 
-  <dl>
 
-   <dt>If the resource is being loaded as part of navigation of a
-   <span>browsing context</span>, and the resource was fetched from a
-   particular <span>application cache</span></dt>
 
-   <dd>
-
-    <!-- this can only happen for subframes -->
-
-    <p>The user agent must associate the <code>Document</code> with
-    that application cache and invoke the <span>application cache
-    update process</span> for that cache, with that <span>browsing
-    context</span>.</p>
-
-   </dd>
-
-   <dt>If the resource is being loaded as part of navigation of a
-   <span>child browsing context</span></dt>
-
-   <dd>
-
-    <!-- e.g. iframes to online whitelisted resources -->
-
-    <p>The user agent must associate the <code>Document</code> with
-    that application cache associated with the <span>active
-    document</span> of the <span>parent browsing context</span>.</p>
-
-   </dd>
-
-   <dt>Otherwise</dt>
-
-   <dd>
-
-    <p>Nothing special happens with respect to application caches.</p>
-
-   </dd>
-
-  </dl>
-
-
-
   <h5 id="changesToNetworkingModel">Changes to the networking model</h5>
 
   <p>When a <span>browsing context</span> is associated with an
-  <span>application cache</span>, any and all resource loads must go
-  through the following steps instead of immediately invoking the
+  <span>application cache</span>, any and all loads for resources in
+  that <span>browsing context</span> other than those for <span
+  title="child browsing context">child browsing contexts</span> must
+  go through the following steps instead of immediately invoking the
   mechanisms appropriate to that resource's scheme:</p>
 
   <ol>
@@ -40490,10 +40461,7 @@
   object that the <code>ApplicationCache</code> object maps to is
   associated with an application cache, then that is the application
   cache with which the <code>ApplicationCache</code> object is
-  associated. Otherwise, the <code>ApplicationCache</code> object is
-  associated with the application cache that the <code>Document</code>
-  object's <span>browsing context</span> is associated with, if
-  any.</p>
+  associated.</p>
 
   <p>The <dfn title="dom-appcache-status"><code>status</code></dfn>
   attribute, on getting, must return the current state of the




More information about the Commit-Watchers mailing list