Skip to content

Commit 9e68720

Browse files
committed
Drop isReload
Drop isReload in favor of using request's cache mode. Fixes #873.
1 parent a1d5b2f commit 9e68720

File tree

4 files changed

+30
-106
lines changed

4 files changed

+30
-106
lines changed

docs/index.bs

-11
Original file line numberDiff line numberDiff line change
@@ -1386,7 +1386,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
13861386
readonly attribute DOMString clientId;
13871387
readonly attribute DOMString reservedClientId;
13881388
readonly attribute DOMString targetClientId;
1389-
readonly attribute boolean isReload;
13901389

13911390
void respondWith(Promise<Response> r);
13921391
};
@@ -1398,7 +1397,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
13981397
DOMString clientId = "";
13991398
DOMString reservedClientId = "";
14001399
DOMString targetClientId = "";
1401-
boolean isReload = false;
14021400
};
14031401
</pre>
14041402

@@ -1440,14 +1438,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
14401438
<dfn attribute for="FetchEvent"><code>targetClientId</code></dfn> attribute *must* return the value it was initialized to. When an <a>event</a> is created the attribute *must* be initialized to the empty string.
14411439
</section>
14421440

1443-
<section>
1444-
<h4 id="fetch-event-isreload">{{FetchEvent/isReload|event.isReload}}</h4>
1445-
1446-
<dfn attribute for="FetchEvent"><code>isReload</code></dfn> attribute *must* return the value it was initialized to. When an <a>event</a> is created the attribute *must* be initialized to false.
1447-
1448-
Note: Pressing the refresh button should be considered a reload while clicking a link and pressing the back button should not. The behavior of Ctrl+l enter is left to the implementations of the user agents.
1449-
</section>
1450-
14511441
<section algorithm="fetch-event-respondwith">
14521442
<h4 id="fetch-event-respondwith">{{FetchEvent/respondWith(r)|event.respondWith(r)}}</h4>
14531443

@@ -2933,7 +2923,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
29332923
1. Initialize |e|'s {{FetchEvent/clientId}} attribute to |client|'s [=environment/id=].
29342924
1. If |request| is a <a>non-subresource request</a> and |request|'s [=request/destination=] is not {{RequestDestination/"report"}}, initialize |e|'s {{FetchEvent/reservedClientId}} attribute to |reservedClient|'s [=environment/id=], and to the empty string otherwise.
29352925
1. If |request| is a <a>navigation request</a>, initialize |e|'s {{FetchEvent/targetClientId}} attribute to |request|'s [=request/target client id=], and to the empty string otherwise.
2936-
1. Let the {{FetchEvent/isReload}} attribute of |e| be initialized to <code>true</code> if |request|'s [=request/client=] is a <a>window client</a> and the event was dispatched with the user's intention for the page reload, and <code>false</code> otherwise.
29372926
1. <a>Dispatch</a> |e| at |activeWorker|'s [=service worker/global object=].
29382927
1. If |e|'s [=FetchEvent/respond-with entered flag=] is set, set |respondWithEntered| to true.
29392928
1. If |e|'s [=FetchEvent/wait to respond flag=] is set, then:

0 commit comments

Comments
 (0)