Skip to content

Commit

Permalink
[giow] (2) Make document.domain match implementations more.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@5405 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 31, 2010
1 parent 7764ebc commit 57efe7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
7 changes: 3 additions & 4 deletions complete.html
Expand Up @@ -59484,16 +59484,15 @@ <h4 id=relaxing-the-same-origin-restriction><span class=secno>6.3.1 </span>Relax

<p>On getting, the attribute must return its current value, unless
the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing context</a>, in
which case it must throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code>
exception.</p>
which case it must return the empty string.</p>

<p>On setting, the user agent must run the following algorithm:</p>

<ol><li>

<p>If the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing
context</a>, throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception
and abort these steps.</p>
context</a>, throw a <code><a href=#security_err>SECURITY_ERR</a></code> exception and
abort these steps.</p>

</li>

Expand Down
7 changes: 3 additions & 4 deletions index
Expand Up @@ -59409,16 +59409,15 @@ x === this; // true</pre>

<p>On getting, the attribute must return its current value, unless
the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing context</a>, in
which case it must throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code>
exception.</p>
which case it must return the empty string.</p>

<p>On setting, the user agent must run the following algorithm:</p>

<ol><li>

<p>If the <code><a href=#document>Document</a></code> has no <a href=#browsing-context>browsing
context</a>, throw an <code><a href=#invalid_access_err>INVALID_ACCESS_ERR</a></code> exception
and abort these steps.</p>
context</a>, throw a <code><a href=#security_err>SECURITY_ERR</a></code> exception and
abort these steps.</p>

</li>

Expand Down
7 changes: 3 additions & 4 deletions source
Expand Up @@ -67168,8 +67168,7 @@ x === this; // true</pre>

<p>On getting, the attribute must return its current value, unless
the <code>Document</code> has no <span>browsing context</span>, in
which case it must throw an <code>INVALID_ACCESS_ERR</code>
exception.</p>
which case it must return the empty string.</p>

<p>On setting, the user agent must run the following algorithm:</p>

Expand All @@ -67178,8 +67177,8 @@ x === this; // true</pre>
<li>

<p>If the <code>Document</code> has no <span>browsing
context</span>, throw an <code>INVALID_ACCESS_ERR</code> exception
and abort these steps.</p>
context</span>, throw a <code>SECURITY_ERR</code> exception and
abort these steps.</p>

</li>

Expand Down

0 comments on commit 57efe7e

Please sign in to comment.