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

@mkruisselbrink 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.

If having a separate global scope from what is used for running the fetch handler is a problem, we could always branch/use the existing one if we already have one, and otherwise create a temporary one to be immediately thrown away afterwards. While a real implementation wouldn't do that, as mentioned earlier in your changes, a real implementation probably wouldn't even create a global scope at all in this code path.

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

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

Received on Thursday, 15 February 2024 00:04:21 UTC