Re: [w3c/ServiceWorker] Specify how "terminate" works (PR #1612)

@noamr commented on this pull request.



> @@ -2975,6 +2975,30 @@ spec: rfc7231; urlPrefix: https://tools.ietf.org/html/rfc7231
           1. Set |serviceWorker|'s [=start status=] to null.
   </section>
 
+  <section>
+    <h3 id="terminate-service-worker-fetch-algorithm">Terminating a Service-Worker Fetch</h3>
+
+    A <dfn export>service worker fetch controller</dfn> is a [=/struct=]. It has the following [=struct/items=]:
+
+    <section dfn-for="service worker fetch controller">
+        : <dfn>state</dfn> (default "<code>ongoing</code>")
+        :: "<code>ongoing</code>" or "<code>terminated</code>".
+
+        : <dfn>preload fetch controller</dfn> (default null)

It's used to forward being aborted... I can rename but I don't entirely understand the comment 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1612#discussion_r750126701

Received on Tuesday, 16 November 2021 10:29:38 UTC