[html5] r8400 - [giow] (3) Turns out location.reload() does work even when you have a fragment i [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Jan 16 09:51:25 PST 2014
Author: ianh
Date: 2014-01-16 09:51:24 -0800 (Thu, 16 Jan 2014)
New Revision: 8400
Modified:
complete.html
index
source
Log:
[giow] (3) Turns out location.reload() does work even when you have a fragment identifier...
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24303
Affected topics: DOM APIs, HTML
Modified: complete.html
===================================================================
--- complete.html 2014-01-15 23:17:49 UTC (rev 8399)
+++ complete.html 2014-01-16 17:51:24 UTC (rev 8400)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 15 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 16 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -67009,7 +67009,8 @@
<a href=#browsing-context>browsing context</a> to <a href="#the-document's-address">the document's
address</a> with <a href=#replacement-enabled>replacement enabled</a> and <a href=#exceptions-enabled>exceptions enabled</a>. The
<a href=#source-browsing-context>source browsing context</a> must be the <a href=#browsing-context>browsing
- context</a> being navigated.</dd> <!-- it appears that
+ context</a> being navigated. This is a <a href=#reload-triggered-navigation>reload-triggered
+ navigation</a>.</dd> <!-- it appears that
document.reload() always uses GET and does not, e.g., re-POST. -->
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/141 defends the source browsing context claim; submit, eval document.referrer, reload, eval document.referrer. -->
@@ -67259,10 +67260,12 @@
</li>
- <li id=navigate-fragid-step><p><i>Fragment identifiers</i>: Apply the <a href=#url-parser>URL parser</a>
+<!--CLEANUP-->
+ <li id=navigate-fragid-step><p><i>Fragment identifiers</i>: If this is not a <dfn id=reload-triggered-navigation>reload-triggered
+ navigation</dfn>: apply the <a href=#url-parser>URL parser</a>
algorithm to the <a href=#absolute-url>absolute URL</a> of the new resource and the <a href="#the-document's-address" title="the
document's address">address</a> of the <a href=#active-document>active document</a> of the <a href=#browsing-context>browsing
- context</a> being navigated. If all the components of the resulting <a href=#parsed-url title="parsed
+ context</a> being navigated; if all the components of the resulting <a href=#parsed-url title="parsed
URL">parsed URLs</a>, ignoring any <a href=#concept-url-fragment title=concept-url-fragment>fragment</a>
components, are identical, and the new resource is to be fetched using HTTP GET <a href=#concept-http-equivalent-get title=concept-http-equivalent-get>or equivalent</a>, and the <a href=#parsed-url>parsed URL</a> of the
new resource has a <a href=#concept-url-fragment title=concept-url-fragment>fragment</a> component that is not null
@@ -102939,6 +102942,7 @@
Lawrence Forooghian,
Lee Kowalkowski,
Leif Halvard Silli,
+ Leif Kornstaedt,
Lenny Domnitser,
Leonard Rosenthol,
Leons Petrazickis,
Modified: index
===================================================================
--- index 2014-01-15 23:17:49 UTC (rev 8399)
+++ index 2014-01-16 17:51:24 UTC (rev 8400)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 15 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 16 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -67009,7 +67009,8 @@
<a href=#browsing-context>browsing context</a> to <a href="#the-document's-address">the document's
address</a> with <a href=#replacement-enabled>replacement enabled</a> and <a href=#exceptions-enabled>exceptions enabled</a>. The
<a href=#source-browsing-context>source browsing context</a> must be the <a href=#browsing-context>browsing
- context</a> being navigated.</dd> <!-- it appears that
+ context</a> being navigated. This is a <a href=#reload-triggered-navigation>reload-triggered
+ navigation</a>.</dd> <!-- it appears that
document.reload() always uses GET and does not, e.g., re-POST. -->
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/141 defends the source browsing context claim; submit, eval document.referrer, reload, eval document.referrer. -->
@@ -67259,10 +67260,12 @@
</li>
- <li id=navigate-fragid-step><p><i>Fragment identifiers</i>: Apply the <a href=#url-parser>URL parser</a>
+<!--CLEANUP-->
+ <li id=navigate-fragid-step><p><i>Fragment identifiers</i>: If this is not a <dfn id=reload-triggered-navigation>reload-triggered
+ navigation</dfn>: apply the <a href=#url-parser>URL parser</a>
algorithm to the <a href=#absolute-url>absolute URL</a> of the new resource and the <a href="#the-document's-address" title="the
document's address">address</a> of the <a href=#active-document>active document</a> of the <a href=#browsing-context>browsing
- context</a> being navigated. If all the components of the resulting <a href=#parsed-url title="parsed
+ context</a> being navigated; if all the components of the resulting <a href=#parsed-url title="parsed
URL">parsed URLs</a>, ignoring any <a href=#concept-url-fragment title=concept-url-fragment>fragment</a>
components, are identical, and the new resource is to be fetched using HTTP GET <a href=#concept-http-equivalent-get title=concept-http-equivalent-get>or equivalent</a>, and the <a href=#parsed-url>parsed URL</a> of the
new resource has a <a href=#concept-url-fragment title=concept-url-fragment>fragment</a> component that is not null
@@ -102939,6 +102942,7 @@
Lawrence Forooghian,
Lee Kowalkowski,
Leif Halvard Silli,
+ Leif Kornstaedt,
Lenny Domnitser,
Leonard Rosenthol,
Leons Petrazickis,
Modified: source
===================================================================
--- source 2014-01-15 23:17:49 UTC (rev 8399)
+++ source 2014-01-16 17:51:24 UTC (rev 8400)
@@ -74686,7 +74686,8 @@
<span>browsing context</span> to <span>the document's
address</span> with <span>replacement enabled</span> and <span>exceptions enabled</span>. The
<span>source browsing context</span> must be the <span>browsing
- context</span> being navigated.</p></dd> <!-- it appears that
+ context</span> being navigated. This is a <span>reload-triggered
+ navigation</span>.</p></dd> <!-- it appears that
document.reload() always uses GET and does not, e.g., re-POST. -->
<!-- http://software.hixie.ch/utilities/js/live-dom-viewer/saved/141 defends the source browsing context claim; submit, eval document.referrer, reload, eval document.referrer. -->
@@ -74969,10 +74970,12 @@
</li>
- <li id="navigate-fragid-step"><p><i>Fragment identifiers</i>: Apply the <span>URL parser</span>
+<!--CLEANUP-->
+ <li id="navigate-fragid-step"><p><i>Fragment identifiers</i>: If this is not a <dfn>reload-triggered
+ navigation</dfn>: apply the <span>URL parser</span>
algorithm to the <span>absolute URL</span> of the new resource and the <span data-x="the
document's address">address</span> of the <span>active document</span> of the <span>browsing
- context</span> being navigated. If all the components of the resulting <span data-x="parsed
+ context</span> being navigated; if all the components of the resulting <span data-x="parsed
URL">parsed URLs</span>, ignoring any <span data-x="concept-url-fragment">fragment</span>
components, are identical, and the new resource is to be fetched using HTTP GET <span
data-x="concept-http-equivalent-get">or equivalent</span>, and the <span>parsed URL</span> of the
@@ -114914,6 +114917,7 @@
Lawrence Forooghian,
Lee Kowalkowski,
Leif Halvard Silli,
+ Leif Kornstaedt,
Lenny Domnitser,
Leonard Rosenthol,
Leons Petrazickis,
More information about the Commit-Watchers
mailing list