[html5] r4774 - [e] (0) browsing contexts don't have origins... these should have been referring [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Feb 17 19:25:58 PST 2010


Author: ianh
Date: 2010-02-17 19:25:57 -0800 (Wed, 17 Feb 2010)
New Revision: 4774

Modified:
   complete.html
   index
   source
Log:
[e] (0) browsing contexts don't have origins... these should have been referring to the active document.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=8973

Modified: complete.html
===================================================================
--- complete.html	2010-02-18 02:41:37 UTC (rev 4773)
+++ complete.html	2010-02-18 03:25:57 UTC (rev 4774)
@@ -53879,8 +53879,10 @@
      <li>If the <a href=#origin>origin</a> of the resulting <a href=#absolute-url>absolute
      URL</a> is not the same as the <a href=#origin>origin</a> of the
      <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
-     context">browsing context</a>, and either the <a href=#url-path title=url-path><path></a> or <a href=#url-query title=url-query><query></a> components of the two
-     <a href=#url title=URL>URLs</a> compared in the previous step
+     context">browsing context</a>'s <a href=#active-document>active document</a>,
+     and either the <a href=#url-path title=url-path><path></a> or
+     <a href=#url-query title=url-query><query></a> components of the
+     two <a href=#url title=URL>URLs</a> compared in the previous step
      differ, raise a <code><a href=#security_err>SECURITY_ERR</a></code> exception and abort
      these steps. (This prevents sandboxed content from spoofing other
      pages on the same origin.)</li>
@@ -69006,8 +69008,8 @@
     <code><a href=#document>Document</a></code> of the <code><a href=#window>Window</a></code> object on which
     the method was invoked does not have the <a href=#same-origin>same origin</a>
     as the <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
-    context">browsing context</a>, then abort these steps
-    silently.</p>
+    context">browsing context</a>'s <a href=#active-document>active document</a>,
+    then abort these steps silently.</p>
 
     <p>Otherwise, if the <var title="">targetOrigin</var> argument is
     an <a href=#absolute-url>absolute URL</a>, and the <code><a href=#document>Document</a></code> of the
@@ -69123,8 +69125,8 @@
     <code><a href=#document>Document</a></code> of the <code><a href=#window>Window</a></code> object on which
     the method was invoked does not have the <a href=#same-origin>same origin</a>
     as the <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
-    context">browsing context</a>, then abort these steps
-    silently.</p>
+    context">browsing context</a>'s <a href=#active-document>active document</a>,
+    then abort these steps silently.</p>
 
     <p>Otherwise, if the <var title="">targetOrigin</var> argument is
     an <a href=#absolute-url>absolute URL</a>, and the <code><a href=#document>Document</a></code> of the

Modified: index
===================================================================
--- index	2010-02-18 02:41:37 UTC (rev 4773)
+++ index	2010-02-18 03:25:57 UTC (rev 4774)
@@ -53781,8 +53781,10 @@
      <li>If the <a href=#origin>origin</a> of the resulting <a href=#absolute-url>absolute
      URL</a> is not the same as the <a href=#origin>origin</a> of the
      <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
-     context">browsing context</a>, and either the <a href=#url-path title=url-path><path></a> or <a href=#url-query title=url-query><query></a> components of the two
-     <a href=#url title=URL>URLs</a> compared in the previous step
+     context">browsing context</a>'s <a href=#active-document>active document</a>,
+     and either the <a href=#url-path title=url-path><path></a> or
+     <a href=#url-query title=url-query><query></a> components of the
+     two <a href=#url title=URL>URLs</a> compared in the previous step
      differ, raise a <code><a href=#security_err>SECURITY_ERR</a></code> exception and abort
      these steps. (This prevents sandboxed content from spoofing other
      pages on the same origin.)</li>
@@ -64026,8 +64028,8 @@
     <code><a href=#document>Document</a></code> of the <code><a href=#window>Window</a></code> object on which
     the method was invoked does not have the <a href=#same-origin>same origin</a>
     as the <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
-    context">browsing context</a>, then abort these steps
-    silently.</p>
+    context">browsing context</a>'s <a href=#active-document>active document</a>,
+    then abort these steps silently.</p>
 
     <p>Otherwise, if the <var title="">targetOrigin</var> argument is
     an <a href=#absolute-url>absolute URL</a>, and the <code><a href=#document>Document</a></code> of the
@@ -64143,8 +64145,8 @@
     <code><a href=#document>Document</a></code> of the <code><a href=#window>Window</a></code> object on which
     the method was invoked does not have the <a href=#same-origin>same origin</a>
     as the <a href=#entry-script>entry script</a>'s <a href="#script's-browsing-context" title="script's browsing
-    context">browsing context</a>, then abort these steps
-    silently.</p>
+    context">browsing context</a>'s <a href=#active-document>active document</a>,
+    then abort these steps silently.</p>
 
     <p>Otherwise, if the <var title="">targetOrigin</var> argument is
     an <a href=#absolute-url>absolute URL</a>, and the <code><a href=#document>Document</a></code> of the

Modified: source
===================================================================
--- source	2010-02-18 02:41:37 UTC (rev 4773)
+++ source	2010-02-18 03:25:57 UTC (rev 4774)
@@ -60668,10 +60668,10 @@
      <li>If the <span>origin</span> of the resulting <span>absolute
      URL</span> is not the same as the <span>origin</span> of the
      <span>entry script</span>'s <span title="script's browsing
-     context">browsing context</span>, and either the <span
-     title="url-path"><path></span> or <span
-     title="url-query"><query></span> components of the two
-     <span title="URL">URLs</span> compared in the previous step
+     context">browsing context</span>'s <span>active document</span>,
+     and either the <span title="url-path"><path></span> or
+     <span title="url-query"><query></span> components of the
+     two <span title="URL">URLs</span> compared in the previous step
      differ, raise a <code>SECURITY_ERR</code> exception and abort
      these steps. (This prevents sandboxed content from spoofing other
      pages on the same origin.)</li>
@@ -77586,8 +77586,8 @@
     <code>Document</code> of the <code>Window</code> object on which
     the method was invoked does not have the <span>same origin</span>
     as the <span>entry script</span>'s <span title="script's browsing
-    context">browsing context</span>, then abort these steps
-    silently.</p>
+    context">browsing context</span>'s <span>active document</span>,
+    then abort these steps silently.</p>
 
     <p>Otherwise, if the <var title="">targetOrigin</var> argument is
     an <span>absolute URL</span>, and the <code>Document</code> of the
@@ -77724,8 +77724,8 @@
     <code>Document</code> of the <code>Window</code> object on which
     the method was invoked does not have the <span>same origin</span>
     as the <span>entry script</span>'s <span title="script's browsing
-    context">browsing context</span>, then abort these steps
-    silently.</p>
+    context">browsing context</span>'s <span>active document</span>,
+    then abort these steps silently.</p>
 
     <p>Otherwise, if the <var title="">targetOrigin</var> argument is
     an <span>absolute URL</span>, and the <code>Document</code> of the




More information about the Commit-Watchers mailing list