Skip to content

Commit

Permalink
[giow] (3) Make document.open() do a replace only once
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17093
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@7838 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 15, 2013
1 parent 7cc4557 commit ac5f234
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions complete.html
Expand Up @@ -11797,8 +11797,10 @@ <h4 id=opening-the-input-stream><span class=secno>3.4.1 </span>Opening the input

<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>

Expand Down
6 changes: 4 additions & 2 deletions index
Expand Up @@ -11797,8 +11797,10 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )

<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>

Expand Down
6 changes: 4 additions & 2 deletions source
Expand Up @@ -12003,8 +12003,10 @@ plaintext = *( %x0000-2029 / %x202F-2065 / %x206A-10FFFF )

<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>

Expand Down

0 comments on commit ac5f234

Please sign in to comment.