[html5] r7689 - [giow] (3) Define the URL of a document.open(); location.reload(); Document. Fixi [...]
whatwg at whatwg.org
whatwg at whatwg.org
Mon Feb 4 12:32:08 PST 2013
Author: ianh
Date: 2013-02-04 12:32:06 -0800 (Mon, 04 Feb 2013)
New Revision: 7689
Modified:
complete.html
index
source
Log:
[giow] (3) Define the URL of a document.open();location.reload(); Document.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=19823
Affected topics: DOM APIs, HTML
Modified: complete.html
===================================================================
--- complete.html 2013-02-04 17:56:50 UTC (rev 7688)
+++ complete.html 2013-02-04 20:32:06 UTC (rev 7689)
@@ -9484,12 +9484,21 @@
<ol><li><p>Let <var title="">source</var> be the value of the <a href=#browsing-context>browsing context</a>'s
<a href=#active-document>active document</a>'s <a href=#reload-override-buffer>reload override buffer</a>.</li>
+ <li><p>Let <var title="">address</var> be the <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active
+ document</a>'s <a href="#the-document's-address" title="the document's address">address</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>, 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>
+ override buffer</a> to <var title="">source</var>.</p>
+ <p>When it comes time to <a href="#set-the-document's-address">set the document's address</a> in the <a href=#navigate title=navigate>navigation algorithm</a>, use <var title="">address</var> as the
+ <a href=#override-url>override URL</a>.</p>
+
+ </li>
+
+
</ol><h4 id=the-document-object><span class=secno>3.1.1 </span>The <code><a href=#document>Document</a></code> object</h4>
<p>The DOM specification defines a <code title="DOM Document"><a href=#dom-document>Document</a></code> interface, which
@@ -69076,7 +69085,8 @@
its <a href="#the-document's-address" title="the document's address">address</a> set to that <a href=#url>URL</a>
instead.</p>
- <p class=note>An <a href=#override-url title="override URL">override URL</a> is set when <a href=#concept-js-deref title=concept-js-deref>dereferencing a <code>javascript:</code> URL</a>.</p>
+ <p class=note>An <a href=#override-url title="override URL">override URL</a> is set when <a href=#concept-js-deref title=concept-js-deref>dereferencing a <code>javascript:</code> URL</a> and when performing
+ an <span>overriddeen reload</span>.</p>
<p><dfn id=create-a-document-object title="create a Document object">Creating a new <code>Document</code> object</dfn>: when
a <code><a href=#document>Document</a></code> is created as part of the above steps, the user agent must additionally
Modified: index
===================================================================
--- index 2013-02-04 17:56:50 UTC (rev 7688)
+++ index 2013-02-04 20:32:06 UTC (rev 7689)
@@ -9484,12 +9484,21 @@
<ol><li><p>Let <var title="">source</var> be the value of the <a href=#browsing-context>browsing context</a>'s
<a href=#active-document>active document</a>'s <a href=#reload-override-buffer>reload override buffer</a>.</li>
+ <li><p>Let <var title="">address</var> be the <a href=#browsing-context>browsing context</a>'s <a href=#active-document>active
+ document</a>'s <a href="#the-document's-address" title="the document's address">address</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>, 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>
+ override buffer</a> to <var title="">source</var>.</p>
+ <p>When it comes time to <a href="#set-the-document's-address">set the document's address</a> in the <a href=#navigate title=navigate>navigation algorithm</a>, use <var title="">address</var> as the
+ <a href=#override-url>override URL</a>.</p>
+
+ </li>
+
+
</ol><h4 id=the-document-object><span class=secno>3.1.1 </span>The <code><a href=#document>Document</a></code> object</h4>
<p>The DOM specification defines a <code title="DOM Document"><a href=#dom-document>Document</a></code> interface, which
@@ -69076,7 +69085,8 @@
its <a href="#the-document's-address" title="the document's address">address</a> set to that <a href=#url>URL</a>
instead.</p>
- <p class=note>An <a href=#override-url title="override URL">override URL</a> is set when <a href=#concept-js-deref title=concept-js-deref>dereferencing a <code>javascript:</code> URL</a>.</p>
+ <p class=note>An <a href=#override-url title="override URL">override URL</a> is set when <a href=#concept-js-deref title=concept-js-deref>dereferencing a <code>javascript:</code> URL</a> and when performing
+ an <span>overriddeen reload</span>.</p>
<p><dfn id=create-a-document-object title="create a Document object">Creating a new <code>Document</code> object</dfn>: when
a <code><a href=#document>Document</a></code> is created as part of the above steps, the user agent must additionally
Modified: source
===================================================================
--- source 2013-02-04 17:56:50 UTC (rev 7688)
+++ source 2013-02-04 20:32:06 UTC (rev 7689)
@@ -9397,12 +9397,22 @@
<li><p>Let <var title="">source</var> be the value of the <span>browsing context</span>'s
<span>active document</span>'s <span>reload override buffer</span>.</p></li>
+ <li><p>Let <var title="">address</var> be the <span>browsing context</span>'s <span>active
+ document</span>'s <span title="the document's address">address</span>.</p></li>
+
<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>, 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>
+ override buffer</span> to <var title="">source</var>.</p>
+ <p>When it comes time to <span>set the document's address</span> in the <span
+ title="navigate">navigation algorithm</span>, use <var title="">address</var> as the
+ <span>override URL</span>.</p>
+
+ </li>
+
+
</ol>
@@ -80810,7 +80820,8 @@
instead.</p>
<p class="note">An <span title="override URL">override URL</span> is set when <span
- title="concept-js-deref">dereferencing a <code>javascript:</code> URL</span>.</p>
+ title="concept-js-deref">dereferencing a <code>javascript:</code> URL</span> and when performing
+ an <span>overriddeen reload</span>.</p>
<p><dfn title="create a Document object">Creating a new <code>Document</code> object</dfn>: when
a <code>Document</code> is created as part of the above steps, the user agent must additionally
More information about the Commit-Watchers
mailing list