[html5] r1141 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Dec 10 17:37:51 PST 2007


Author: ianh
Date: 2007-12-10 17:37:50 -0800 (Mon, 10 Dec 2007)
New Revision: 1141

Modified:
   index
   source
Log:
[g] (2) Clarify definitions of what to do with window.open() and similar cases when it comes to sessionStorage.

Modified: index
===================================================================
--- index	2007-12-11 01:14:16 UTC (rev 1140)
+++ index	2007-12-11 01:37:50 UTC (rev 1141)
@@ -29786,16 +29786,12 @@
    created by a script in an existing <a href="#browsing0">browsing
    context</a>, or by the user following a link in an existing browsing
    context, or in some other way related to a specific <code><a
-   href="#htmldocument">HTMLDocument</a></code>, then, if the new context's
-   first <code><a href="#htmldocument">HTMLDocument</a></code> has the same
-   <a href="#origin0">origin</a> as the <code><a
-   href="#htmldocument">HTMLDocument</a></code> from which the new context
-   was created, the new browsing context must start with a single session
-   storage area. That storage area must be a copy of that origin's session
-   storage area in the original top-level browsing context, which from that
-   point on must be considered separate, with the two storage areas not
-   affecting each other in any way.</p>
-  <!-- XXX define the case for window.open() -->
+   href="#htmldocument">HTMLDocument</a></code>, then the session storage
+   area of the origin of that <code><a
+   href="#htmldocument">HTMLDocument</a></code> must be copied into the new
+   browsing context when it is created. From that point on, however, the two
+   session storage areas must be considered separate, not affecting each
+   other in any way.
 
   <p id=sessionStorageEvent>When the <code title=dom-Storage-setItem><a
    href="#setitem">setItem()</a></code> method is called on a <code><a

Modified: source
===================================================================
--- source	2007-12-11 01:14:16 UTC (rev 1140)
+++ source	2007-12-11 01:37:50 UTC (rev 1141)
@@ -27326,18 +27326,12 @@
   <p>When a new <span>top-level browsing context</span> is created by
   a script in an existing <span>browsing context</span>, or by the
   user following a link in an existing browsing context, or in some
-  other way related to a specific <code>HTMLDocument</code>, then, if
-  the new context's first <code>HTMLDocument</code> has the same
-  <span>origin</span> as the <code>HTMLDocument</code> from which the
-  new context was created, the new browsing context must start with a
-  single session storage area. That storage area must be a copy of
-  that origin's session storage area in the original top-level
-  browsing context, which from that point on must be considered
-  separate, with the two storage areas not affecting each other in any
-  way.</p>
+  other way related to a specific <code>HTMLDocument</code>, then the
+  session storage area of the origin of that <code>HTMLDocument</code>
+  must be copied into the new browsing context when it is created.
+  From that point on, however, the two session storage areas must be
+  considered separate, not affecting each other in any way.</p>
 
-  <!-- XXX define the case for window.open() -->
-
   <p id="sessionStorageEvent">When the <code
   title="dom-Storage-setItem">setItem()</code> method is called on a
   <code>Storage</code> object <var title="">x</var> that is associated




More information about the Commit-Watchers mailing list