Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[] (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 b4aff5a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion index
Expand Up @@ -52114,7 +52114,14 @@ style/default.css</pre>
<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>

Expand Down
9 changes: 8 additions & 1 deletion source
Expand Up @@ -59027,10 +59027,17 @@ style/default.css</pre>
<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>

Expand Down

0 comments on commit b4aff5a

Please sign in to comment.