You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Service worker registration when context doing the registration goes away #1781
Let's say a document is starting to register a service worker and is quickly going away before the service worker script is loaded.
Given the document is the fetch request client, it is expected that the service worker script fetch is terminated as the document is aborted. It then follows that the service worker never gets registered.
Activity
asutherland commentedon Jul 5, 2025
Can you elaborate on this? Are you referring to fetch group termination or something else? By my reading fetch only adds a fetch to a fetch group for a client if it's a subresource request, but "serviceworker" is a non-subresource request.