Skip to content

Commit

Permalink
[e] (0) active documents are of browsing contexts, not Window objects
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1751 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jun 12, 2008
1 parent 59570d8 commit b97cf35
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 18 deletions.
22 changes: 12 additions & 10 deletions index
Expand Up @@ -29038,10 +29038,10 @@ never reset. This is nice and consistent.)
href="#effective3">effective script origin</a> are equal to the <a
href="#origin0">origin</a> and <a href="#effective3">effective script
origin</a> 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, they track the <code>Document</code> to which the
href="#active">active document</a> of the browsing context of the
<code><a href="#window">Window</a></code> object from which the
<code>XMLHttpRequest</code> constructor was invoked. (That is, they
track 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>
Expand Down Expand Up @@ -34709,8 +34709,9 @@ have a variable and unknowable number of literals coming:
<p>The <code title=dom-opendatabase><a
href="#opendatabase">openDatabase()</a></code> method must use and create
databases from the <a href="#origin0">origin</a> of the <a
href="#active">active document</a> of the <code><a
href="#window">Window</a></code> object on which the method was invoked.
href="#active">active document</a> of the <a href="#browsing1">browsing
context</a> of the <code><a href="#window">Window</a></code> object on
which the method was invoked.

<p>If the database version provided is not the empty string, and the
database already exists but has a different version, then the method must
Expand Down Expand Up @@ -41423,10 +41424,11 @@ data:&nbsp;test</pre>
<li>
<p>If the <var title="">targetOrigin</var> argument has a value other
than a single literal U+002A ASTERISK character ("*"), and the <a
href="#active">active document</a> 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 <var
title="">targetOrigin</var>, then abort these steps silently.</p>
href="#active">active document</a> of the <a href="#browsing1">browsing
context</a> 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 <var title="">targetOrigin</var>,
then abort these steps silently.</p>

<li>
<p>Create an event that uses the <code><a
Expand Down
17 changes: 9 additions & 8 deletions source
Expand Up @@ -26704,8 +26704,8 @@ never reset. This is nice and consistent.)
<dd>The <span>origin</span> and <span>effective script
origin</span> are equal to the <span>origin</span> and
<span>effective script origin</span> 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
object that was the <span>active document</span> of the browsing context of the
<code>Window</code> object from which the
<code>XMLHttpRequest</code> constructor was invoked. (That is,
they track the <code>Document</code> to which the
<code>XMLHttpRequest</code> object's <a
Expand Down Expand Up @@ -32442,8 +32442,8 @@ have a variable and unknowable number of literals coming:

<p>The <code title="dom-opendatabase">openDatabase()</code> method
must use and create databases from the <span>origin</span> of the
<span>active document</span> of the <code>Window</code> object on
which the method was invoked.</p>
<span>active document</span> of the <span>browsing context</span> of
the <code>Window</code> object on which the method was invoked.</p>

<p>If the database version provided is not the empty string, and the
database already exists but has a different version, then the method
Expand Down Expand Up @@ -39009,10 +39009,11 @@ data:&nbsp;test</pre>

<p>If the <var title="">targetOrigin</var> argument has a value
other than a single literal U+002A ASTERISK character ("*"), and
the <span>active document</span> of the <code>Window</code> object
on which the method was invoked does not have the <span>same
origin</span> as <var title="">targetOrigin</var>, then abort
these steps silently.</p>
the <span>active document</span> of the <span>browsing
context</span> of the <code>Window</code> object on which the
method was invoked does not have the <span>same origin</span> as
<var title="">targetOrigin</var>, then abort these steps
silently.</p>

</li>

Expand Down

0 comments on commit b97cf35

Please sign in to comment.