[html5] r7838 - [giow] (3) Make document.open() do a replace only once Fixing https://www.w3.org [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon Apr 15 15:31:03 PDT 2013


Author: ianh
Date: 2013-04-15 15:31:02 -0700 (Mon, 15 Apr 2013)
New Revision: 7838

Modified:
   complete.html
   index
   source
Log:
[giow] (3) Make document.open() do a replace only once
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17093
Affected topics: HTML Syntax and Parsing

Modified: complete.html
===================================================================
--- complete.html	2013-04-15 20:17:44 UTC (rev 7837)
+++ complete.html	2013-04-15 22:31:02 UTC (rev 7838)
@@ -11797,8 +11797,10 @@
 
     <p>Otherwise, if the <a href=#browsing-context>browsing context</a>'s <a href=#session-history>session history</a> contains only
     one <code><a href=#document>Document</a></code>, and that was the <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code>
-    created when the <a href=#browsing-context>browsing context</a> was created, then let <var title="">replace</var>
-    be true.</p>
+    created when the <a href=#browsing-context>browsing context</a> was created, and that <code><a href=#document>Document</a></code> has
+    never had the <a href=#unload-a-document>unload a document</a> algorithm invoked on it (e.g. by a previous call to
+    <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code>), then let <var title="">replace</var> be
+    true.</p>
 
     <p>Otherwise, let <var title="">replace</var> be false.</p>
 

Modified: index
===================================================================
--- index	2013-04-15 20:17:44 UTC (rev 7837)
+++ index	2013-04-15 22:31:02 UTC (rev 7838)
@@ -11797,8 +11797,10 @@
 
     <p>Otherwise, if the <a href=#browsing-context>browsing context</a>'s <a href=#session-history>session history</a> contains only
     one <code><a href=#document>Document</a></code>, and that was the <code><a href=#about:blank>about:blank</a></code> <code><a href=#document>Document</a></code>
-    created when the <a href=#browsing-context>browsing context</a> was created, then let <var title="">replace</var>
-    be true.</p>
+    created when the <a href=#browsing-context>browsing context</a> was created, and that <code><a href=#document>Document</a></code> has
+    never had the <a href=#unload-a-document>unload a document</a> algorithm invoked on it (e.g. by a previous call to
+    <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code>), then let <var title="">replace</var> be
+    true.</p>
 
     <p>Otherwise, let <var title="">replace</var> be false.</p>
 

Modified: source
===================================================================
--- source	2013-04-15 20:17:44 UTC (rev 7837)
+++ source	2013-04-15 22:31:02 UTC (rev 7838)
@@ -12003,8 +12003,10 @@
 
     <p>Otherwise, if the <span>browsing context</span>'s <span>session history</span> contains only
     one <code>Document</code>, and that was the <code>about:blank</code> <code>Document</code>
-    created when the <span>browsing context</span> was created, then let <var title="">replace</var>
-    be true.</p>
+    created when the <span>browsing context</span> was created, and that <code>Document</code> has
+    never had the <span>unload a document</span> algorithm invoked on it (e.g. by a previous call to
+    <code title="dom-document-open">document.open()</code>), then let <var title="">replace</var> be
+    true.</p>
 
     <p>Otherwise, let <var title="">replace</var> be false.</p>
 




More information about the Commit-Watchers mailing list