[html5] r1914 - [] (0) window.open('') needs to be like window.open()

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 23 14:52:36 PDT 2008


Author: ianh
Date: 2008-07-23 14:52:35 -0700 (Wed, 23 Jul 2008)
New Revision: 1914

Modified:
   index
   source
Log:
[] (0) window.open('') needs to be like window.open()

Modified: index
===================================================================
--- index	2008-07-23 21:49:16 UTC (rev 1913)
+++ index	2008-07-23 21:52:35 UTC (rev 1914)
@@ -30904,9 +30904,10 @@
 
   <p>The first argument, <var title="">url</var>, must be a <a
    href="#valid">valid URL</a> for a page to load in the browsing context. If
-   no arguments are provided, then the <var title="">url</var> argument
-   defaults to "<code>about:blank</code><!-- XXX xref -->". The argument must
-   be <a href="#resolve" title="resolve a url">resolved</a> to an <a
+   no arguments are provided, or if the first argument is the empty string,
+   then the <var title="">url</var> argument defaults to
+   "<code>about:blank</code><!-- XXX xref -->". The argument must be <a
+   href="#resolve" title="resolve a url">resolved</a> to an <a
    href="#absolute">absolute URL</a> (or an error) when the method is
    invoked.
 

Modified: source
===================================================================
--- source	2008-07-23 21:49:16 UTC (rev 1913)
+++ source	2008-07-23 21:52:35 UTC (rev 1914)
@@ -28243,9 +28243,9 @@
 
   <p>The first argument, <var title="">url</var>, must be a
   <span>valid URL</span> for a page to load in the browsing
-  context. If no arguments are provided, then the <var
-  title="">url</var> argument defaults to
-  "<code>about:blank</code><!-- XXX xref -->". The argument must be
+  context. If no arguments are provided, or if the first argument is
+  the empty string, then the <var title="">url</var> argument defaults
+  to "<code>about:blank</code><!-- XXX xref -->". The argument must be
   <span title="resolve a url">resolved</span> to an <span>absolute
   URL</span> (or an error) when the method is invoked.</p>
 




More information about the Commit-Watchers mailing list