Re: [w3c/ServiceWorker] ServiceWorker static routing API (PR #1701)

@yoshisatoyanagisawa commented on this pull request.



>  
-      Note: This algorithm blocks until the service worker is [=running=] or fails to start.
+      Note: This algorithm returns true if |serviceWorker| has a {{ServiceWorkerGlobalScope}} usable for a CSP check.

My question here is that:
1. if we can create a {{ServiceWorkerGlobalScope}} without agent.  It might be no.
2. Now we use [ServiceWorkerGlobalScope is ready flag](https://pr-preview.s3.amazonaws.com/yoshisatoyanagisawa/ServiceWorker/pull/1701.html#service-worker-serviceworkerglobalscope-is-ready-flag) to know if the {{ServiceWorkerGlobalScope}} has been set up in the agent.  However, if we do not have an associated flag, how can we know if the {{ServiceWorkerGlobalScope}} is ready?  Can {{ServiceWorkerGlobalScope}} has an associated flag for that purpose?

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

Message ID: <w3c/ServiceWorker/pull/1701/review/1884235807@github.com>

Received on Friday, 16 February 2024 02:56:14 UTC