Skip to content
Permalink
Browse files

[] (0) Allow location.replace() to be accessed cross-origin too.

git-svn-id: http://svn.whatwg.org/webapps@3557 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 8, 2009
1 parent fe4c33c commit b4aff5a35f4ca84ecf7a713698ffb8cda7270243
Showing with 16 additions and 2 deletions.
  1. +8 −1 index
  2. +8 −1 source
9 index
<a href=#allowed-to-navigate>allowed to navigate</a> the browsing context with which
the <code><a href=#location>Location</a></code> object is associated

</ul><p>User agents must not allow scripts to override the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute's setter.</p>
<li>The <code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> method,
if the script is running in a <a href=#browsing-context>browsing context</a> that is
<a href=#allowed-to-navigate>allowed to navigate</a> the browsing context with which
the <code><a href=#location>Location</a></code> object is associated

</ul><p>User agents must not allow scripts to override the <code title=dom-location-href><a href=#dom-location-href>href</a></code> attribute's setter or the
<code title=dom-location-replace><a href=#dom-location-replace>replace()</a></code> method on the
<code><a href=#location>Location</a></code> object.</p>

</div>

9 source
<span>allowed to navigate</span> the browsing context with which
the <code>Location</code> object is associated

<li>The <code title="dom-location-replace">replace()</code> method,
if the script is running in a <span>browsing context</span> that is
<span>allowed to navigate</span> the browsing context with which
the <code>Location</code> object is associated

</ul>

<p>User agents must not allow scripts to override the <code
title="dom-location-href">href</code> attribute's setter.</p>
title="dom-location-href">href</code> attribute's setter or the
<code title="dom-location-replace">replace()</code> method on the
<code>Location</code> object.</p>

</div>

0 comments on commit b4aff5a

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