[html5] r6037 - [giow] (1) Minor tweaks to make sure location.reload() works correctly with docu [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Apr 28 12:00:38 PDT 2011
Author: ianh
Date: 2011-04-28 12:00:37 -0700 (Thu, 28 Apr 2011)
New Revision: 6037
Modified:
complete.html
index
source
Log:
[giow] (1) Minor tweaks to make sure location.reload() works correctly with document.open()-created-documents.
Modified: complete.html
===================================================================
--- complete.html 2011-04-28 18:00:21 UTC (rev 6036)
+++ complete.html 2011-04-28 19:00:37 UTC (rev 6037)
@@ -8553,10 +8553,11 @@
<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>
@@ -12500,9 +12501,12 @@
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
Modified: index
===================================================================
--- index 2011-04-28 18:00:21 UTC (rev 6036)
+++ index 2011-04-28 19:00:37 UTC (rev 6037)
@@ -8573,10 +8573,11 @@
<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>
@@ -12520,9 +12521,12 @@
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
Modified: source
===================================================================
--- source 2011-04-28 18:00:21 UTC (rev 6036)
+++ source 2011-04-28 19:00:37 UTC (rev 6037)
@@ -8588,11 +8588,11 @@
<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>
@@ -13123,10 +13123,12 @@
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
More information about the Commit-Watchers
mailing list