[html5] r1915 - [e] (0) make some notes about window.location near about:blank

whatwg at whatwg.org whatwg at whatwg.org
Wed Jul 23 15:06:39 PDT 2008


Author: ianh
Date: 2008-07-23 15:06:39 -0700 (Wed, 23 Jul 2008)
New Revision: 1915

Modified:
   index
   source
Log:
[e] (0) make some notes about window.location near about:blank

Modified: index
===================================================================
--- index	2008-07-23 21:52:35 UTC (rev 1914)
+++ index	2008-07-23 22:06:39 UTC (rev 1915)
@@ -34752,7 +34752,12 @@
   <p>When the <dfn id=assign title=dom-location-assign><code>assign(<var
    title="">url</var>)</code></dfn> method is invoked, the UA must <a
    href="#navigate">navigate</a> the <a href="#browsing1">browsing
-   context</a> to the specified <var title="">url</var>.
+   context</a> to the specified <var title="">url</var>.</p>
+  <!-- XXX browsers seem to
+  treat this as having <span>replacement enabled</span> if the
+  browsing context has only one entry and that entry is about:blank.
+  IE and Firefox only seem to treat it that way if the DOM is still a
+  virgin DOM; Safari doesn't check that. -->
 
   <p>When the <dfn id=replace title=dom-location-replace><code>replace(<var
    title="">url</var>)</code></dfn> method is invoked, the UA must <a

Modified: source
===================================================================
--- source	2008-07-23 21:52:35 UTC (rev 1914)
+++ source	2008-07-23 22:06:39 UTC (rev 1915)
@@ -32232,7 +32232,11 @@
   <p>When the <dfn title="dom-location-assign"><code>assign(<var
   title="">url</var>)</code></dfn> method is invoked, the UA must
   <span>navigate</span> the <span>browsing context</span> to the
-  specified <var title="">url</var>.</p>
+  specified <var title="">url</var>.</p> <!-- XXX browsers seem to
+  treat this as having <span>replacement enabled</span> if the
+  browsing context has only one entry and that entry is about:blank.
+  IE and Firefox only seem to treat it that way if the DOM is still a
+  virgin DOM; Safari doesn't check that. -->
 
   <p>When the <dfn title="dom-location-replace"><code>replace(<var
   title="">url</var>)</code></dfn> method is invoked, the UA must




More information about the Commit-Watchers mailing list