[html5] r8779 - [giow] (3) Fix window.open('') to be more like deployed browsers rather than def [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Sep 16 14:36:13 PDT 2014
Author: ianh
Date: 2014-09-16 14:36:09 -0700 (Tue, 16 Sep 2014)
New Revision: 8779
Modified:
complete.html
index
source
Log:
[giow] (3) Fix window.open('') to be more like deployed browsers rather than defaulting to 'about:blank'.
Affected topics: DOM APIs
Modified: complete.html
===================================================================
--- complete.html 2014-09-16 21:26:43 UTC (rev 8778)
+++ complete.html 2014-09-16 21:36:09 UTC (rev 8779)
@@ -57625,10 +57625,7 @@
<ol><li><p>Let <var>entry settings</var> be the <a href=#entry-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:entry-settings-object>entry settings object</a> when the method
was invoked.<li><p>Let <var>incumbent settings</var> be the <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object>incumbent settings object</a> when the
- method was invoked.<li><p>Let <var>url</var> be the first argument.<li><p>Let <var>target</var> be the second argument.<li><p>Let <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features-2><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var> be the third argument.<li><p>Let <var>replace</var> be the fourth argument.<li><p>If <var>url</var> is the empty string, set <var>url</var> to
- "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-2><a href=#about:blank>about:blank</a></code>".<li><p><a href=#resolve-a-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resolve-a-url>Resolve</a> <var>url</var> relative to the <a href=#api-base-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:api-base-url>API base
- URL</a> specified by <var>entry settings</var>.<li><p>Let <var>resource</var> be the <a href=#resulting-absolute-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resulting-absolute-url>resulting absolute URL</a>, if any, or else an
- error.<li><p>Let <var>source browsing context</var> be the <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context>responsible browsing context</a>
+ method was invoked.<li><p>Let <var>url</var> be the first argument.<li><p>Let <var>target</var> be the second argument.<li><p>Let <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features-2><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var> be the third argument.<li><p>Let <var>replace</var> be the fourth argument.<li><p>Let <var>source browsing context</var> be the <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context>responsible browsing context</a>
specified by <var>incumbent settings</var>.<li>
<p>If the user has indicated a preference for which <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-2>browsing context</a> to navigate,
@@ -57654,18 +57651,34 @@
<li><p>If <var>target browsing context</var> was just created, either as part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name-2>the rules
for choosing a browsing context given a browsing context name</a> or due to the user
indicating a preference for navigating a new <a href=#top-level-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:top-level-browsing-context-2>top-level browsing context</a>, then let
- <var>new</var> be true. Otherwise, let it be false.<li><p>Interpret <var>features</var> as defined in the CSSOM View specification. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a><li><p>If <var>resource</var> is an error, then, optionally, set it to the <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url>URL</a>
- "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-3><a href=#about:blank>about:blank</a></code>". Otherwise, let it be a resource representing an inline error
- page.<li><p>If <var>resource</var> is "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-4><a href=#about:blank>about:blank</a></code>" and <var>new</var> is true,
- <a href=#queue-a-task id=apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task>queue a task</a> to <a href=#fire-a-simple-event id=apis-for-creating-and-navigating-browsing-contexts-by-name:fire-a-simple-event>fire a simple event</a> named <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:event-load><a href=#event-load>load</a></code> at <var>target browsing context</var>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code>
- object, with <i id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to <var>target
- browsing context</var>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's
- <code>Document</code></a> object.<li><p>Otherwise, <var>resource</var> is either a <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url-2>URL</a> other than
- "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-5><a href=#about:blank>about:blank</a></code>" or a resource representing an inline error page, or <var>new</var> is
- false. <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-2>Navigate</a> <var>target browsing
- context</var> to <var>resource</var>, with <a href=#exceptions-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:exceptions-enabled>exceptions enabled</a>. If <var>new</var> is
- true, then <a href=#replacement-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:replacement-enabled>replacement must be enabled</a> also. The
- <a href=#source-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:source-browsing-context>source browsing context</a> is <var>source browsing context</var>.<li><p>Return the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:windowproxy><a href=#windowproxy>WindowProxy</a></code> object of <var>target browsing
+ <var>new</var> be true. Otherwise, let it be false.<li><p>Interpret <var>features</var> as defined in the CSSOM View specification. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a><li>
+
+ <p>If <var>url</var> is the empty string, run the appropriate steps from the following list:</p>
+
+ <dl><dt>If <var>new</var> is false<dd><p>Jump to the step labeled <i>end</i>.<dt>If <var>new</var> is true<dd><p>Let <var>resource</var> be the <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url>URL</a> "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-2><a href=#about:blank>about:blank</a></code>".</dl>
+
+ <p>Otherwise, <a href=#resolve-a-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resolve-a-url>resolve</a> <var>url</var> relative to the
+ <a href=#api-base-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:api-base-url>API base URL</a> specified by <var>entry settings</var>, and let <var>resource</var> be
+ the <a href=#resulting-absolute-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resulting-absolute-url>resulting absolute URL</a>, if any. If the <a href=#resolve-a-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resolve-a-url-2>resolve a URL</a> algorithm
+ failed, then run one of the following two steps instead:</p>
+
+ <ul><li><p>Let <var>resource</var> be a resource representing an inline error page.<li><p>If <var>new</var> is false, jump to the step labeled <i>end</i>, otherwise, let
+ <var>resource</var> be the <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url-2>URL</a> "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-3><a href=#about:blank>about:blank</a></code>".</ul>
+
+ <li>
+
+ <p>If <var>resource</var> is "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-4><a href=#about:blank>about:blank</a></code>" and <var>new</var> is true, <a href=#queue-a-task id=apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task>queue
+ a task</a> to <a href=#fire-a-simple-event id=apis-for-creating-and-navigating-browsing-contexts-by-name:fire-a-simple-event>fire a simple event</a> named <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:event-load><a href=#event-load>load</a></code> at
+ <var>target browsing context</var>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code> object, with <i id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to <var>target browsing
+ context</var>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's
+ <code>Document</code></a> object.</p>
+
+ <p>Otherwise, <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-2>navigate</a> <var>target browsing context</var>
+ to <var>resource</var>, with <a href=#exceptions-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:exceptions-enabled>exceptions enabled</a>. If <var>new</var> is true, then
+ <a href=#replacement-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:replacement-enabled>replacement must be enabled</a> also. The <a href=#source-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:source-browsing-context>source
+ browsing context</a> is <var>source browsing context</var>.</p>
+
+ <li><p><i>End</i>: Return the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:windowproxy><a href=#windowproxy>WindowProxy</a></code> object of <var>target browsing
context</var>.</ol>
<hr>
Modified: index
===================================================================
--- index 2014-09-16 21:26:43 UTC (rev 8778)
+++ index 2014-09-16 21:36:09 UTC (rev 8779)
@@ -57625,10 +57625,7 @@
<ol><li><p>Let <var>entry settings</var> be the <a href=#entry-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:entry-settings-object>entry settings object</a> when the method
was invoked.<li><p>Let <var>incumbent settings</var> be the <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object>incumbent settings object</a> when the
- method was invoked.<li><p>Let <var>url</var> be the first argument.<li><p>Let <var>target</var> be the second argument.<li><p>Let <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features-2><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var> be the third argument.<li><p>Let <var>replace</var> be the fourth argument.<li><p>If <var>url</var> is the empty string, set <var>url</var> to
- "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-2><a href=#about:blank>about:blank</a></code>".<li><p><a href=#resolve-a-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resolve-a-url>Resolve</a> <var>url</var> relative to the <a href=#api-base-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:api-base-url>API base
- URL</a> specified by <var>entry settings</var>.<li><p>Let <var>resource</var> be the <a href=#resulting-absolute-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resulting-absolute-url>resulting absolute URL</a>, if any, or else an
- error.<li><p>Let <var>source browsing context</var> be the <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context>responsible browsing context</a>
+ method was invoked.<li><p>Let <var>url</var> be the first argument.<li><p>Let <var>target</var> be the second argument.<li><p>Let <var id=apis-for-creating-and-navigating-browsing-contexts-by-name:dom-open-features-2><a data-x-internal=dom-open-features href=http://dev.w3.org/csswg/cssom-view/#the-features-argument-to-the-open()-method>features</a></var> be the third argument.<li><p>Let <var>replace</var> be the fourth argument.<li><p>Let <var>source browsing context</var> be the <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context>responsible browsing context</a>
specified by <var>incumbent settings</var>.<li>
<p>If the user has indicated a preference for which <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-2>browsing context</a> to navigate,
@@ -57654,18 +57651,34 @@
<li><p>If <var>target browsing context</var> was just created, either as part of <a href=#the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name id=apis-for-creating-and-navigating-browsing-contexts-by-name:the-rules-for-choosing-a-browsing-context-given-a-browsing-context-name-2>the rules
for choosing a browsing context given a browsing context name</a> or due to the user
indicating a preference for navigating a new <a href=#top-level-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:top-level-browsing-context-2>top-level browsing context</a>, then let
- <var>new</var> be true. Otherwise, let it be false.<li><p>Interpret <var>features</var> as defined in the CSSOM View specification. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a><li><p>If <var>resource</var> is an error, then, optionally, set it to the <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url>URL</a>
- "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-3><a href=#about:blank>about:blank</a></code>". Otherwise, let it be a resource representing an inline error
- page.<li><p>If <var>resource</var> is "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-4><a href=#about:blank>about:blank</a></code>" and <var>new</var> is true,
- <a href=#queue-a-task id=apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task>queue a task</a> to <a href=#fire-a-simple-event id=apis-for-creating-and-navigating-browsing-contexts-by-name:fire-a-simple-event>fire a simple event</a> named <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:event-load><a href=#event-load>load</a></code> at <var>target browsing context</var>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code>
- object, with <i id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to <var>target
- browsing context</var>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's
- <code>Document</code></a> object.<li><p>Otherwise, <var>resource</var> is either a <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url-2>URL</a> other than
- "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-5><a href=#about:blank>about:blank</a></code>" or a resource representing an inline error page, or <var>new</var> is
- false. <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-2>Navigate</a> <var>target browsing
- context</var> to <var>resource</var>, with <a href=#exceptions-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:exceptions-enabled>exceptions enabled</a>. If <var>new</var> is
- true, then <a href=#replacement-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:replacement-enabled>replacement must be enabled</a> also. The
- <a href=#source-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:source-browsing-context>source browsing context</a> is <var>source browsing context</var>.<li><p>Return the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:windowproxy><a href=#windowproxy>WindowProxy</a></code> object of <var>target browsing
+ <var>new</var> be true. Otherwise, let it be false.<li><p>Interpret <var>features</var> as defined in the CSSOM View specification. <a href=#refsCSSOMVIEW>[CSSOMVIEW]</a><li>
+
+ <p>If <var>url</var> is the empty string, run the appropriate steps from the following list:</p>
+
+ <dl><dt>If <var>new</var> is false<dd><p>Jump to the step labeled <i>end</i>.<dt>If <var>new</var> is true<dd><p>Let <var>resource</var> be the <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url>URL</a> "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-2><a href=#about:blank>about:blank</a></code>".</dl>
+
+ <p>Otherwise, <a href=#resolve-a-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resolve-a-url>resolve</a> <var>url</var> relative to the
+ <a href=#api-base-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:api-base-url>API base URL</a> specified by <var>entry settings</var>, and let <var>resource</var> be
+ the <a href=#resulting-absolute-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resulting-absolute-url>resulting absolute URL</a>, if any. If the <a href=#resolve-a-url id=apis-for-creating-and-navigating-browsing-contexts-by-name:resolve-a-url-2>resolve a URL</a> algorithm
+ failed, then run one of the following two steps instead:</p>
+
+ <ul><li><p>Let <var>resource</var> be a resource representing an inline error page.<li><p>If <var>new</var> is false, jump to the step labeled <i>end</i>, otherwise, let
+ <var>resource</var> be the <a href=#url id=apis-for-creating-and-navigating-browsing-contexts-by-name:url-2>URL</a> "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-3><a href=#about:blank>about:blank</a></code>".</ul>
+
+ <li>
+
+ <p>If <var>resource</var> is "<code id=apis-for-creating-and-navigating-browsing-contexts-by-name:about:blank-4><a href=#about:blank>about:blank</a></code>" and <var>new</var> is true, <a href=#queue-a-task id=apis-for-creating-and-navigating-browsing-contexts-by-name:queue-a-task>queue
+ a task</a> to <a href=#fire-a-simple-event id=apis-for-creating-and-navigating-browsing-contexts-by-name:fire-a-simple-event>fire a simple event</a> named <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:event-load><a href=#event-load>load</a></code> at
+ <var>target browsing context</var>'s <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:window-2><a href=#window>Window</a></code> object, with <i id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-event-target-override><a href=#concept-event-target-override>target override</a></i> set to <var>target browsing
+ context</var>'s <a href=#concept-document-window id=apis-for-creating-and-navigating-browsing-contexts-by-name:concept-document-window><code>Window</code> object's
+ <code>Document</code></a> object.</p>
+
+ <p>Otherwise, <a href=#navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:navigate-2>navigate</a> <var>target browsing context</var>
+ to <var>resource</var>, with <a href=#exceptions-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:exceptions-enabled>exceptions enabled</a>. If <var>new</var> is true, then
+ <a href=#replacement-enabled id=apis-for-creating-and-navigating-browsing-contexts-by-name:replacement-enabled>replacement must be enabled</a> also. The <a href=#source-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:source-browsing-context>source
+ browsing context</a> is <var>source browsing context</var>.</p>
+
+ <li><p><i>End</i>: Return the <code id=apis-for-creating-and-navigating-browsing-contexts-by-name:windowproxy><a href=#windowproxy>WindowProxy</a></code> object of <var>target browsing
context</var>.</ol>
<hr>
Modified: source
===================================================================
--- source 2014-09-16 21:26:43 UTC (rev 8778)
+++ source 2014-09-16 21:36:09 UTC (rev 8779)
@@ -77606,15 +77606,6 @@
<li><p>Let <var>replace</var> be the fourth argument.</p></li>
- <li><p>If <var>url</var> is the empty string, set <var>url</var> to
- "<code>about:blank</code>".</p></li>
-
- <li><p><span data-x="resolve a url">Resolve</span> <var>url</var> relative to the <span>API base
- URL</span> specified by <var>entry settings</var>.</p></li>
-
- <li><p>Let <var>resource</var> be the <span>resulting absolute URL</span>, if any, or else an
- error.</p></li>
-
<li><p>Let <var>source browsing context</var> be the <span>responsible browsing context</span>
specified by <var>incumbent settings</var>.</p></li>
@@ -77658,27 +77649,55 @@
<li><p>Interpret <var>features</var> as defined in the CSSOM View specification. <ref
spec="CSSOMVIEW"></p></li>
- <li><p>If <var>resource</var> is an error, then, optionally, set it to the <span>URL</span>
- "<code>about:blank</code>". Otherwise, let it be a resource representing an inline error
- page.</p></li> <!-- XXX or empty string? -->
+ <li>
- <li><p>If <var>resource</var> is "<code>about:blank</code>" and <var>new</var> is true,
- <span>queue a task</span> to <span>fire a simple event</span> named <code
- data-x="event-load">load</code> at <var>target browsing context</var>'s <code>Window</code>
- object, with <i data-x="concept-event-target-override">target override</i> set to <var>target
- browsing context</var>'s <span data-x="concept-document-window"><code>Window</code> object's
- <code>Document</code></span> object.</p></li>
+ <p>If <var>url</var> is the empty string, run the appropriate steps from the following list:</p>
- <!-- XXX if new is false and /url/ was the empty string, don't navigate -->
+ <dl>
- <li><p>Otherwise, <var>resource</var> is either a <span>URL</span> other than
- "<code>about:blank</code>" or a resource representing an inline error page, or <var>new</var> is
- false<!--XXX-->. <span>Navigate</span><!--DONAV window.open()--> <var>target browsing
- context</var> to <var>resource</var>, with <span>exceptions enabled</span>. If <var>new</var> is
- true, then <span data-x="replacement enabled">replacement must be enabled</span> also. The
- <span>source browsing context</span> is <var>source browsing context</var>.</p></li>
+ <dt>If <var>new</var> is false</dt>
- <li><p>Return the <code>WindowProxy</code> object of <var>target browsing
+ <dd><p>Jump to the step labeled <i>end</i>.</p></dd>
+
+ <dt>If <var>new</var> is true</dt>
+
+ <dd><p>Let <var>resource</var> be the <span>URL</span> "<code>about:blank</code>".</p></dd>
+
+ </dl>
+
+ <p>Otherwise, <span data-x="resolve a url">resolve</span> <var>url</var> relative to the
+ <span>API base URL</span> specified by <var>entry settings</var>, and let <var>resource</var> be
+ the <span>resulting absolute URL</span>, if any. If the <span>resolve a URL</span> algorithm
+ failed, then run one of the following two steps instead:</p>
+
+ <ul>
+
+ <li><p>Let <var>resource</var> be a resource representing an inline error page.</p></li>
+
+ <li><p>If <var>new</var> is false, jump to the step labeled <i>end</i>, otherwise, let
+ <var>resource</var> be the <span>URL</span> "<code>about:blank</code>".</p></li>
+
+ </ul>
+
+ </li>
+
+ <li>
+
+ <p>If <var>resource</var> is "<code>about:blank</code>" and <var>new</var> is true, <span>queue
+ a task</span> to <span>fire a simple event</span> named <code data-x="event-load">load</code> at
+ <var>target browsing context</var>'s <code>Window</code> object, with <i
+ data-x="concept-event-target-override">target override</i> set to <var>target browsing
+ context</var>'s <span data-x="concept-document-window"><code>Window</code> object's
+ <code>Document</code></span> object.</p>
+
+ <p>Otherwise, <span>navigate</span><!--DONAV window.open()--> <var>target browsing context</var>
+ to <var>resource</var>, with <span>exceptions enabled</span>. If <var>new</var> is true, then
+ <span data-x="replacement enabled">replacement must be enabled</span> also. The <span>source
+ browsing context</span> is <var>source browsing context</var>.</p>
+
+ </li>
+
+ <li><p><i>End</i>: Return the <code>WindowProxy</code> object of <var>target browsing
context</var>.</p></li>
</ol>
More information about the Commit-Watchers
mailing list