[html5] r8816 - [giow] (3) Make window.open() match browsers better Fixing https://www.w3.org/Bu [...]

whatwg at whatwg.org whatwg at whatwg.org
Wed Sep 24 15:21:22 PDT 2014


Author: ianh
Date: 2014-09-24 15:21:19 -0700 (Wed, 24 Sep 2014)
New Revision: 8816

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Make window.open() match browsers better
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=26830
Affected topics: DOM APIs

Modified: complete.html
===================================================================
--- complete.html	2014-09-24 22:13:28 UTC (rev 8815)
+++ complete.html	2014-09-24 22:21:19 UTC (rev 8816)
@@ -57814,9 +57814,8 @@
   <p>When the method is invoked, the user agent must run the following steps:</p>
 
   <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>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 <var>target</var> is the empty string, let it be the string "<code>_blank</code>" instead.<li>
+   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>entry settings</var>.<li><p>If <var>target</var> is the empty string, let it be the string "<code>_blank</code>" instead.<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,
     follow these substeps:</p>
@@ -57888,9 +57887,9 @@
   objects should, if all the following conditions are met, <a href=#close-a-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:close-a-browsing-context>close</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-7>browsing context</a> <var>A</var>:
 
   <ul class=brief><li>The corresponding <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-8>browsing context</a> <var>A</var> is
-   <a href=#script-closable id=apis-for-creating-and-navigating-browsing-contexts-by-name:script-closable>script-closable</a>.<li>The <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context-2>responsible browsing context</a> specified by the <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object-2>incumbent settings
+   <a href=#script-closable id=apis-for-creating-and-navigating-browsing-contexts-by-name:script-closable>script-closable</a>.<li>The <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context-2>responsible browsing context</a> specified by the <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object>incumbent settings
    object</a> is <a href=#familiar-with id=apis-for-creating-and-navigating-browsing-contexts-by-name:familiar-with>familiar with</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-9>browsing context</a> <var>A</var>.<li id=sandboxClose>The <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context-3>responsible browsing context</a> specified by the
-   <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object-3>incumbent settings object</a> is <a href=#allowed-to-navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:allowed-to-navigate>allowed to navigate</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-10>browsing
+   <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object-2>incumbent settings object</a> is <a href=#allowed-to-navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:allowed-to-navigate>allowed to navigate</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-10>browsing
    context</a> <var>A</var>.</ul>
 
   <p>A <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-11>browsing context</a> is <dfn id=script-closable>script-closable</dfn> if it is an <a href=#auxiliary-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:auxiliary-browsing-context-2>auxiliary

Modified: index
===================================================================
--- index	2014-09-24 22:13:28 UTC (rev 8815)
+++ index	2014-09-24 22:21:19 UTC (rev 8816)
@@ -57814,9 +57814,8 @@
   <p>When the method is invoked, the user agent must run the following steps:</p>
 
   <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>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 <var>target</var> is the empty string, let it be the string "<code>_blank</code>" instead.<li>
+   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>entry settings</var>.<li><p>If <var>target</var> is the empty string, let it be the string "<code>_blank</code>" instead.<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,
     follow these substeps:</p>
@@ -57888,9 +57887,9 @@
   objects should, if all the following conditions are met, <a href=#close-a-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:close-a-browsing-context>close</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-7>browsing context</a> <var>A</var>:
 
   <ul class=brief><li>The corresponding <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-8>browsing context</a> <var>A</var> is
-   <a href=#script-closable id=apis-for-creating-and-navigating-browsing-contexts-by-name:script-closable>script-closable</a>.<li>The <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context-2>responsible browsing context</a> specified by the <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object-2>incumbent settings
+   <a href=#script-closable id=apis-for-creating-and-navigating-browsing-contexts-by-name:script-closable>script-closable</a>.<li>The <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context-2>responsible browsing context</a> specified by the <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object>incumbent settings
    object</a> is <a href=#familiar-with id=apis-for-creating-and-navigating-browsing-contexts-by-name:familiar-with>familiar with</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-9>browsing context</a> <var>A</var>.<li id=sandboxClose>The <a href=#responsible-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:responsible-browsing-context-3>responsible browsing context</a> specified by the
-   <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object-3>incumbent settings object</a> is <a href=#allowed-to-navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:allowed-to-navigate>allowed to navigate</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-10>browsing
+   <a href=#incumbent-settings-object id=apis-for-creating-and-navigating-browsing-contexts-by-name:incumbent-settings-object-2>incumbent settings object</a> is <a href=#allowed-to-navigate id=apis-for-creating-and-navigating-browsing-contexts-by-name:allowed-to-navigate>allowed to navigate</a> the <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-10>browsing
    context</a> <var>A</var>.</ul>
 
   <p>A <a href=#browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:browsing-context-11>browsing context</a> is <dfn id=script-closable>script-closable</dfn> if it is an <a href=#auxiliary-browsing-context id=apis-for-creating-and-navigating-browsing-contexts-by-name:auxiliary-browsing-context-2>auxiliary

Modified: source
===================================================================
--- source	2014-09-24 22:13:28 UTC (rev 8815)
+++ source	2014-09-24 22:21:19 UTC (rev 8816)
@@ -77818,9 +77818,6 @@
    <li><p>Let <var>entry settings</var> be the <span>entry settings object</span> when the method
    was invoked.</p></li>
 
-   <li><p>Let <var>incumbent settings</var> be the <span>incumbent settings object</span> when the
-   method was invoked.</p></li>
-
    <li><p>Let <var>url</var> be the first argument.</p></li>
 
    <li><p>Let <var>target</var> be the second argument.</p></li>
@@ -77830,7 +77827,7 @@
    <li><p>Let <var>replace</var> be the fourth argument.</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>
+   specified by <var>entry settings</var>.</p></li>
 
    <li><p>If <var>target</var> is the empty string, let it be the string "<code
    data-x="">_blank</code>" instead.</p></li>



More information about the Commit-Watchers mailing list