[html5] r1517 - /

whatwg at whatwg.org whatwg at whatwg.org
Wed Apr 30 14:43:17 PDT 2008


Author: ianh
Date: 2008-04-30 14:43:17 -0700 (Wed, 30 Apr 2008)
New Revision: 1517

Modified:
   index
   source
Log:
[] (0) Define origin for XMLHttpRequest documents -- this may move into the XHR spec at some point.

Modified: index
===================================================================
--- index	2008-04-30 20:45:25 UTC (rev 1516)
+++ index	2008-04-30 21:43:17 UTC (rev 1517)
@@ -27271,6 +27271,19 @@
 
    <dd>
     <dl class=switch>
+     <dt>If a <code>Document</code> or image was returned by the
+      <code>XMLHttpRequest</code> API
+
+     <dd>The origin is the same as the origin of the <code>Document</code>
+      object that was the <a href="#active">active document</a> of the
+      <code><a href="#window">Window</a></code> object of the browsing
+      context from which the <code>XMLHttpRequest</code> constructor was
+      invoked. (That is, the origin is the same as the origin of the
+      <code>Document</code> to which the <code>XMLHttpRequest</code> object's
+      <a
+      href="http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#document-pointer"><code>Document</code>
+      pointer</a> pointed when it was created.) <a href="#refsXHR">[XHR]</a>
+
      <dt>If a <code>Document</code> or image was generated from a <a
       href="#the-javascript" title="javascript
       protocol"><code>javascript:</code> URI</a>

Modified: source
===================================================================
--- source	2008-04-30 20:45:25 UTC (rev 1516)
+++ source	2008-04-30 21:43:17 UTC (rev 1517)
@@ -24995,6 +24995,21 @@
 
     <dl class="switch">
 
+     <dt>If a <code>Document</code> or image was returned by the
+     <code>XMLHttpRequest</code> API</dt>
+
+     <dd>The origin is the same as the origin of the
+     <code>Document</code> object that was the <span>active
+     document</span> of the <code>Window</code> object of the browsing
+     context from which the <code>XMLHttpRequest</code> constructor
+     was invoked. (That is, the origin is the same as the origin of
+     the <code>Document</code> to which the
+     <code>XMLHttpRequest</code> object's <a
+     href="http://dev.w3.org/2006/webapi/XMLHttpRequest-2/Overview.html#document-pointer"><code>Document</code>
+     pointer</a> pointed when it was created.) <a
+     href="#refsXHR">[XHR]</a></dd>
+
+
      <dt>If a <code>Document</code> or image was generated from a
      <span title="javascript protocol"><code>javascript:</code>
      URI</span></dt>




More information about the Commit-Watchers mailing list