Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (3) Location's security model is actually different than Windo…
…w's.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=20012
Affected topics: DOM APIs, Security

git-svn-id: http://svn.whatwg.org/webapps@7516 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 20, 2012
1 parent 5f17db4 commit 6c4f5f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions complete.html
Expand Up @@ -70711,8 +70711,8 @@ <h5 id=security-location><span class=secno>6.5.3.1 </span>Security</h5>
<p id=security-3>User agents must throw a <code><a href=#securityerror>SecurityError</a></code> exception whenever any
properties of a <code><a href=#location>Location</a></code> object are accessed by scripts whose <a href=#effective-script-origin>effective script
origin</a> is not the <a href=#same-origin title="same origin">same</a> as the <code><a href=#location>Location</a></code>
object's associated <code><a href=#document>Document</a></code>'s <a href=#effective-script-origin>effective script origin</a>, with the
following exceptions:</p>
object's associated <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active
document</a>'s <a href=#effective-script-origin>effective script origin</a>, with the following exceptions:</p>

<ul><li>The <code title=dom-location-href><a href=#dom-location-href>href</a></code> setter, if the
script is running in a <a href=#browsing-context>browsing context</a> that is
Expand Down
4 changes: 2 additions & 2 deletions index
Expand Up @@ -70711,8 +70711,8 @@ State: &lt;OUTPUT NAME=I&gt;1&lt;/OUTPUT&gt; &lt;INPUT VALUE="Increment" TYPE=BU
<p id=security-3>User agents must throw a <code><a href=#securityerror>SecurityError</a></code> exception whenever any
properties of a <code><a href=#location>Location</a></code> object are accessed by scripts whose <a href=#effective-script-origin>effective script
origin</a> is not the <a href=#same-origin title="same origin">same</a> as the <code><a href=#location>Location</a></code>
object's associated <code><a href=#document>Document</a></code>'s <a href=#effective-script-origin>effective script origin</a>, with the
following exceptions:</p>
object's associated <code><a href=#document>Document</a></code>'s <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active
document</a>'s <a href=#effective-script-origin>effective script origin</a>, with the following exceptions:</p>

<ul><li>The <code title=dom-location-href><a href=#dom-location-href>href</a></code> setter, if the
script is running in a <a href=#browsing-context>browsing context</a> that is
Expand Down
4 changes: 2 additions & 2 deletions source
Expand Up @@ -82982,8 +82982,8 @@ State: &lt;OUTPUT NAME=I>1&lt;/OUTPUT> &lt;INPUT VALUE="Increment" TYPE=BUTTON O
<p id="security-3">User agents must throw a <code>SecurityError</code> exception whenever any
properties of a <code>Location</code> object are accessed by scripts whose <span>effective script
origin</span> is not the <span title="same origin">same</span> as the <code>Location</code>
object's associated <code>Document</code>'s <span>effective script origin</span>, with the
following exceptions:</p>
object's associated <code>Document</code>'s <span>browsing context</span>'s <span>active
document</span>'s <span>effective script origin</span>, with the following exceptions:</p>

<ul>

Expand Down

0 comments on commit 6c4f5f7

Please sign in to comment.