Skip to content
Permalink
Browse files

[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 6c4f5f7cec41e4627367b381782045448f3fccdb
Showing with 6 additions and 6 deletions.
  1. +2 −2 complete.html
  2. +2 −2 index
  3. +2 −2 source
<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
4 index
<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
4 source
<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>

0 comments on commit 6c4f5f7

Please sign in to comment.
You can’t perform that action at this time.