- From: Yoshisato Yanagisawa <notifications@github.com>
- Date: Tue, 21 Feb 2023 22:48:22 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 22 February 2023 06:48:35 UTC
@yoshisatoyanagisawa commented on this pull request.
> 1. Run the <a>responsible event loop</a> specified by |settingsObject| until it is destroyed.
1. [=map/Clear=] |workerGlobalScope|'s [=map of active timers=].
1. Wait for |serviceWorker| to be [=running=], or for |startFailed| to be true.
1. If |startFailed| is true, then return *failure*.
1. Return |serviceWorker|'s [=start status=].
</section>
+ <section algorithm>
+ <h3 id="empty-handler-identification-algorithm"><dfn>Empty Handler identification</dfn></h3>
+
+ : Input
+ :: |workerGlobalScope|, a [=service worker/global object=].
+ : Output
+ :: a boolean
+
+ 1. If |workerGlobalScope|'s <a>set of event types to handle</a> does not [=set/contain=] <code>fetch</code>, then returns false.
The behavior is intended, but people may feel the flag name does not match with the behavior.
I intend to say the fetch handler exists and all of them are empty, but it sounds long.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/pull/1672#discussion_r1113900337
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/ServiceWorker/pull/1672/review/1308616712@github.com>
Received on Wednesday, 22 February 2023 06:48:35 UTC