Re: [w3c/ServiceWorker] Should active service worker for service worker be itself? (Issue #1850)

yoshisatoyanagisawa left a comment (w3c/ServiceWorker#1850)

Unfortunately, I do not have a clear answer for this. As you know, simply allowing the fetch handler to intercept fetches from Service Workers can easily cause an infinite fetch loop. Therefore, I feel it is difficult to settle the service worker intercept requested from showNotification() while avoiding this infinite loop.
Maybe we should bypass the fetch handler/interception if the service worker itself is the initiator?
Let me leave this open and revisit this later.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1850#issuecomment-5862488858
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/ServiceWorker/issues/1850/5862488858@github.com>

Received on Monday, 28 September 2026 03:01:21 UTC