Skip to content

Commit 3072f1d

Browse files
yutakahiranoannevk
authored andcommitted
Set request's reload-navigation flag for reloads
See w3c/ServiceWorker#1167 for the discussion that led to this change and whatwg/fetch#685 for the infrastructure in Fetch this builds upon. Tests: web-platform-tests/wpt#10192.
1 parent 9bc8dee commit 3072f1d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

source

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2819,6 +2819,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
28192819
<li><dfn data-x="concept-request-nonce-metadata" data-x-href="https://fetch.spec.whatwg.org/#concept-request-nonce-metadata">cryptographic nonce metadata</dfn></li>
28202820
<li><dfn data-x="concept-request-integrity-metadata" data-x-href="https://fetch.spec.whatwg.org/#concept-request-integrity-metadata">integrity metadata</dfn></li>
28212821
<li><dfn data-x="concept-request-parser-metadata" data-x-href="https://fetch.spec.whatwg.org/#concept-request-parser-metadata">parser metadata</dfn></li>
2822+
<li><dfn data-x="concept-request-reload-navigation-flag" data-x-href="https://fetch.spec.whatwg.org/#concept-request-reload-navigation-flag">reload-navigation flag</dfn></li>
28222823
</ul>
28232824
</li>
28242825
</ul>
@@ -81818,6 +81819,10 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
8181881819
data-x="concept-request">request</span> whose <span data-x="concept-request-url">url</span> is
8181981820
<var>resource</var>.</p></li>
8182081821

81822+
<li><p>If <var>resource</var> is a <span data-x="concept-request">request</span> and this is
81823+
a <dfn>reload-triggered navigation</dfn>, then set <var>resource</var>'s <span
81824+
data-x="concept-request-reload-navigation-flag">reload-navigation flag</span>.
81825+
8182181826
<li id="sandboxLinks">
8182281827
<p>If the <span>source browsing context</span> is not <span>allowed to navigate</span>
8182381828
<var>browsingContext</var>, then:</p>
@@ -81855,7 +81860,7 @@ interface <dfn>Location</dfn> { // but see also <a href="#the-location-interface
8185581860
<span>prompt to unload</span> algorithm.</p></li>
8185681861
<!-- https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=1946 to 1955 -->
8185781862

81858-
<li id="navigate-fragid-step"><p>If this is not a <dfn>reload-triggered navigation</dfn>,
81863+
<li id="navigate-fragid-step"><p>If this is not a <span>reload-triggered navigation</span>,
8185981864
<var>resource</var> is a <span data-x="concept-request">request</span>, <var>resource</var>'s
8186081865
<span data-x="concept-request-url">url</span> <span data-x="concept-url-equals">equals</span>
8186181866
<var>browsingContext</var>'s <span>active document</span>'s <span
@@ -121510,6 +121515,7 @@ INSERT INTERFACES HERE
121510121515
Yoav Weiss,
121511121516
Yonathan Randolph,
121512121517
Yury Delendik,
121518+
平野裕 (Yutaka Hirano)
121513121519
Yuzo Fujishima,
121514121520
Zhenbin Xu,
121515121521
&#24352;&#26234;&#24378; (Zhiqiang Zhang),

0 commit comments

Comments
 (0)