Skip to content

Commit

Permalink
[giow] (1) Minor tweaks to make sure location.reload() works correctl…
Browse files Browse the repository at this point in the history
…y with document.open()-created-documents.

git-svn-id: http://svn.whatwg.org/webapps@6037 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 28, 2011
1 parent 1c6d3a6 commit f0bf030
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 23 deletions.
18 changes: 11 additions & 7 deletions complete.html
Expand Up @@ -8553,10 +8553,11 @@ <h3 id=documents><span class=secno>3.1 </span>Documents</h3>
<a href=#reload-override-buffer>reload override buffer</a>.</li>

<li><p><a href=#navigate>Navigate</a><!--DONAV reload after d.open()--> the
<a href=#browsing-context>browsing context</a> to a resource whose source is <var title="">source</var>. When the <a href=#navigate>navigate</a> algorithm
creates a <code><a href=#document>Document</a></code> object for this purpose, set that
<code><a href=#document>Document</a></code>'s <a href=#reload-override-flag>reload override flag</a> and set
its <a href=#reload-override-buffer>reload override buffer</a> to <var title="">source</var>.</li>
<a href=#browsing-context>browsing context</a> to a resource whose source is <var title="">source</var>, with <a href=#replacement-enabled>replacement enabled</a>. When
the <a href=#navigate>navigate</a> algorithm creates a <code><a href=#document>Document</a></code>
object for this purpose, set that <code><a href=#document>Document</a></code>'s
<a href=#reload-override-flag>reload override flag</a> and set its <a href=#reload-override-buffer>reload override
buffer</a> to <var title="">source</var>.</li>

</ol><h4 id=documents-in-the-dom><span class=secno>3.1.1 </span>Documents in the DOM</h4>

Expand Down Expand Up @@ -12500,9 +12501,12 @@ <h4 id=opening-the-input-stream><span class=secno>3.5.1 </span>Opening the input
entry, just before the last entry, and associate with the new entry
the text that was parsed by the previous parser associated with the
<code><a href=#document>Document</a></code> object, as well as the state of the document
at the start of these steps. (This allows the user to step
backwards in the session history to see the page before it was
blown away by the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> call.)</li>
at the start of these steps. This allows the user to step backwards
in the session history to see the page before it was blown away by
the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> call.
This new entry does not have a <code><a href=#document>Document</a></code> object, so a
new one will be created if the session history is traversed to that
entry.</li>

<li><p>Finally, set the <a href=#insertion-point>insertion point</a> to point at
just before the end of the <a href=#the-input-stream>input stream</a> (which at this
Expand Down
18 changes: 11 additions & 7 deletions index
Expand Up @@ -8573,10 +8573,11 @@ interface <dfn id=propertynodelist>PropertyNodeList</dfn> : <a href=#nodelist>No
<a href=#reload-override-buffer>reload override buffer</a>.</li>

<li><p><a href=#navigate>Navigate</a><!--DONAV reload after d.open()--> the
<a href=#browsing-context>browsing context</a> to a resource whose source is <var title="">source</var>. When the <a href=#navigate>navigate</a> algorithm
creates a <code><a href=#document>Document</a></code> object for this purpose, set that
<code><a href=#document>Document</a></code>'s <a href=#reload-override-flag>reload override flag</a> and set
its <a href=#reload-override-buffer>reload override buffer</a> to <var title="">source</var>.</li>
<a href=#browsing-context>browsing context</a> to a resource whose source is <var title="">source</var>, with <a href=#replacement-enabled>replacement enabled</a>. When
the <a href=#navigate>navigate</a> algorithm creates a <code><a href=#document>Document</a></code>
object for this purpose, set that <code><a href=#document>Document</a></code>'s
<a href=#reload-override-flag>reload override flag</a> and set its <a href=#reload-override-buffer>reload override
buffer</a> to <var title="">source</var>.</li>

</ol><h4 id=documents-in-the-dom><span class=secno>3.1.1 </span>Documents in the DOM</h4>

Expand Down Expand Up @@ -12520,9 +12521,12 @@ plaintext = *( %x0000-2029 / %x202F-10FFFF )
entry, just before the last entry, and associate with the new entry
the text that was parsed by the previous parser associated with the
<code><a href=#document>Document</a></code> object, as well as the state of the document
at the start of these steps. (This allows the user to step
backwards in the session history to see the page before it was
blown away by the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> call.)</li>
at the start of these steps. This allows the user to step backwards
in the session history to see the page before it was blown away by
the <code title=dom-document-open><a href=#dom-document-open>document.open()</a></code> call.
This new entry does not have a <code><a href=#document>Document</a></code> object, so a
new one will be created if the session history is traversed to that
entry.</li>

<li><p>Finally, set the <a href=#insertion-point>insertion point</a> to point at
just before the end of the <a href=#the-input-stream>input stream</a> (which at this
Expand Down
20 changes: 11 additions & 9 deletions source
Expand Up @@ -8588,11 +8588,11 @@ interface <dfn>PropertyNodeList</dfn> : <span>NodeList</span> {

<li><p><span>Navigate</span><!--DONAV reload after d.open()--> the
<span>browsing context</span> to a resource whose source is <var
title="">source</var>. When the <span>navigate</span> algorithm
creates a <code>Document</code> object for this purpose, set that
<code>Document</code>'s <span>reload override flag</span> and set
its <span>reload override buffer</span> to <var
title="">source</var>.</p></li>
title="">source</var>, with <span>replacement enabled</span>. When
the <span>navigate</span> algorithm creates a <code>Document</code>
object for this purpose, set that <code>Document</code>'s
<span>reload override flag</span> and set its <span>reload override
buffer</span> to <var title="">source</var>.</p></li>

</ol>

Expand Down Expand Up @@ -13123,10 +13123,12 @@ plaintext = *( %x0000-2029 / %x202F-10FFFF )
entry, just before the last entry, and associate with the new entry
the text that was parsed by the previous parser associated with the
<code>Document</code> object, as well as the state of the document
at the start of these steps. (This allows the user to step
backwards in the session history to see the page before it was
blown away by the <code
title="dom-document-open">document.open()</code> call.)</p></li>
at the start of these steps. This allows the user to step backwards
in the session history to see the page before it was blown away by
the <code title="dom-document-open">document.open()</code> call.
This new entry does not have a <code>Document</code> object, so a
new one will be created if the session history is traversed to that
entry.</p></li>

<li><p>Finally, set the <span>insertion point</span> to point at
just before the end of the <span>input stream</span> (which at this
Expand Down

0 comments on commit f0bf030

Please sign in to comment.