Skip to content

Commit

Permalink
[] (0) window.open() and window.showModalDialog() should use the scri…
Browse files Browse the repository at this point in the history
…pt execution browsing context, not the browsing context of the Window object

git-svn-id: http://svn.whatwg.org/webapps@1636 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed May 16, 2008
1 parent 3e2ed2f commit 3417785
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
13 changes: 6 additions & 7 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -28289,9 +28289,8 @@ never reset. This is nice and consistent.)
href="#browsing1">browsing context</a> was just created as part of the <a
href="#the-rules">the rules for chosing a browsing context given a
browsing context name</a>. The navigation must be done with the <a
href="#browsing1">browsing context</a> of the <code><a
href="#window">Window</a></code> object on which the method was invoked as
the <a href="#source0">source browsing context</a>.
href="#script2">script execution browsing context</a> of the script that
invoked the method as the <a href="#source0">source browsing context</a>.

<p>The method must return the <code><a href="#window">Window</a></code>
object of the default view of the <a href="#browsing1">browsing
Expand Down Expand Up @@ -29499,9 +29498,9 @@ JSURI: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t
<li>
<p><a href="#navigate">Navigate</a> the new browsing context to <var
title="">url</var>, with <a href="#replacement">replacement enabled</a>,
and with the <a href="#browsing1">browsing context</a> of the <code><a
href="#window">Window</a></code> object on which the method was invoked
as the <a href="#source0">source browsing context</a>.</p>
and with the <a href="#script2">script execution browsing context</a> of
the script that invoked the method as the <a href="#source0">source
browsing context</a>.</p>

<li>
<p>Wait for the browsing context to be closed. (The user agent must allow
Expand Down Expand Up @@ -31711,7 +31710,7 @@ JSURI: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t
href="#assign">assign()</a></code> and <code title=dom-location-replace><a
href="#replace">replace()</a></code> methods must be done with the <a
href="#script2">script execution browsing context</a> of the script that
called the method as the <a href="#source0">source browsing context</a>.
invoked the method as the <a href="#source0">source browsing context</a>.

<p>Relative <var title="">url</var> arguments for <code
title=dom-location-assign><a href="#assign">assign()</a></code> and <code
Expand Down
13 changes: 6 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -26009,9 +26009,8 @@ never reset. This is nice and consistent.)
<span>browsing context</span> was just created as part of the
<span>the rules for chosing a browsing context given a browsing
context name</span>. The navigation must be done with the
<span>browsing context</span> of the <code>Window</code> object on
which the method was invoked as the <span>source browsing
context</span>.</p>
<span>script execution browsing context</span> of the script that
invoked the method as the <span>source browsing context</span>.</p>

<p>The method must return the <code>Window</code> object of the
default view of the <span>browsing context</span> that was
Expand Down Expand Up @@ -27269,9 +27268,9 @@ JSURI: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t

<p><span>Navigate</span> the new browsing context to <var
title="">url</var>, with <span>replacement enabled</span>, and
with the <span>browsing context</span> of the <code>Window</code>
object on which the method was invoked as the <span>source
browsing context</span>.</p>
with the <span>script execution browsing context</span> of the
script that invoked the method as the <span>source browsing
context</span>.</p>

</li>

Expand Down Expand Up @@ -29553,7 +29552,7 @@ JSURI: http://ietfreport.isoc.org/all-ids/draft-hoehrmann-javascript-scheme-00.t
title="dom-location-assign">assign()</code> and <code
title="dom-location-replace">replace()</code> methods must be done
with the <span>script execution browsing context</span> of the
script that called the method as the <span>source browsing
script that invoked the method as the <span>source browsing
context</span>.</p>

<p>Relative <var title="">url</var> arguments for <code
Expand Down

0 comments on commit 3417785

Please sign in to comment.