[html5] r861 - /

whatwg at whatwg.org whatwg at whatwg.org
Mon Jun 4 22:06:13 PDT 2007


Author: ianh
Date: 2007-06-04 22:06:11 -0700 (Mon, 04 Jun 2007)
New Revision: 861

Modified:
   index
   source
Log:
[] (0) window.name musn't effect other domains

Modified: index
===================================================================
--- index	2007-06-05 04:35:08 UTC (rev 860)
+++ index	2007-06-05 05:06:11 UTC (rev 861)
@@ -23122,6 +23122,9 @@
    and, on setting, set the name of the <a href="#browsing0">browsing
    context</a> to the new value.
 
+  <p class=note>The name <a href="#resetBCName">gets reset</a> when the
+   browsing context is navigated to another domain.
+
   <h4 id=accessing><span class=secno>4.2.4. </span>Accessing other browsing
    contexts</h4>
 
@@ -23305,10 +23308,43 @@
       document</a>'s <code>Document</code>'s <a href="#list-of2">list of
       added properties</a>.
 
+     <li>If the browsing context is a <a href="#top-level">top-level browsing
+      context</a> (and not an <a href="#auxiliary0">auxiliary browsing
+      context</a>), and the <a href="#origin0">origin</a> of the
+      <code>Document</code> of the specified entry is not the same as the <a
+      href="#origin0">origin</a> of the <code>Document</code> of the <a
+      href="#current0">current entry</a>, then the following sub-sub-steps
+      must be run:
+      <ol>
+       <li>The current <span>browsing context name</span> must be stored with
+        all the entries in the history that are associated with
+        <code>Document</code> objects with the same <a
+        href="#origin0">origin</a> as the <a href="#active">active
+        document</a> <em>and</em> that are contiguous with the <a
+        href="#current0">current entry</a>.
+
+       <li id=resetBCName>The browsing context's <span>browsing context
+        name</span> must be unset.
+      </ol>
+
      <li>The user agent must make the specified entry's <code>Document</code>
       object the <a href="#active">active document</a> of the <a
       href="#browsing0">browsing context</a>.
 
+     <li>If the <span>specified entry</span> has a <span>browsing context
+      name</span> stored with it, then the following sub-sub-steps must be
+      run:
+      <ol>
+       <li>The browsing context's <span>browsing context name</span> must be
+        set to the name stored with the <span>specified entry</span>.
+
+       <li>Any <span>browsing context name</span> stored with the entries in
+        the history that are associated with <code>Document</code> objects
+        with the same <a href="#origin0">origin</a> as the new <a
+        href="#active">active document</a>, and that are contiguous with the
+        specified entry, must be cleared.
+      </ol>
+
      <li>The user agent must move any properties that have been added to the
       <a href="#active">active document</a>'s <code>Document</code>'s <a
       href="#list-of2">list of added properties</a> to browsing context's

Modified: source
===================================================================
--- source	2007-06-05 04:35:08 UTC (rev 860)
+++ source	2007-06-05 05:06:11 UTC (rev 861)
@@ -20802,6 +20802,8 @@
   name of the <span>browsing context</span>, and, on setting, set the
   name of the <span>browsing context</span> to the new value.</p>
 
+  <p class="note">The name <a href="#resetBCName">gets reset</a> when
+  the browsing context is navigated to another domain.</p>
 
 
 
@@ -20990,10 +20992,54 @@
      <code>Document</code>'s <span>list of added
      properties</span>.</li>
 
+     <li>If the browsing context is a <span>top-level browsing
+     context</span> (and not an <span>auxiliary browsing
+     context</span>), and the <span>origin</span> of the
+     <code>Document</code> of the specified entry is not the same as
+     the <span>origin</span> of the <code>Document</code> of the
+     <span>current entry</span>, then the following sub-sub-steps must
+     be run:
+
+      <ol>
+
+       <li>The current <span>browsing context name</span> must be
+       stored with all the entries in the history that are associated
+       with <code>Document</code> objects with the same
+       <span>origin</span> as the <span>active document</span>
+       <em>and</em> that are contiguous with the <span>current
+       entry</span>.</li>
+
+       <li id="resetBCName">The browsing context's <span>browsing
+       context name</span> must be unset.</li>
+
+      </ol>
+
+     </li>
+
      <li>The user agent must make the specified entry's
      <code>Document</code> object the <span>active document</span> of
      the <span>browsing context</span>.</p></li>
 
+     <li>If the <span>specified entry</span> has a <span>browsing
+     context name</span> stored with it, then the following
+     sub-sub-steps must be run:
+
+      <ol>
+
+       <li>The browsing context's <span>browsing context name</span>
+       must be set to the name stored with the <span>specified
+       entry</span>.</li>
+
+       <li>Any <span>browsing context name</span> stored with the
+       entries in the history that are associated with
+       <code>Document</code> objects with the same <span>origin</span>
+       as the new <span>active document</span>, and that are
+       contiguous with the specified entry, must be cleared.</li>
+
+      </ol>
+
+     </li>
+
      <li>The user agent must move any properties that have been added
      to the <span>active document</span>'s <code>Document</code>'s
      <span>list of added properties</span> to browsing context's
@@ -21001,6 +21047,8 @@
 
     </ol>
 
+   </li>
+
    <li><p>If the specified entry is a state object, the user agent
    must <span title="activate the state object">activate that state
    object</span>.</p></li>




More information about the Commit-Watchers mailing list