Re: [w3c/ServiceWorker] clients.claim() with a blob URL worker (#1554)

Thanks for the test and checking browser behavior! I agree that the blob URL worker should continue to have the same controller that its owner has after claim(). Possibly around here:

```
If client’s active service worker is not the service worker, then:

1. Invoke Handle Service Worker Client Unload with client as the argument.
2. Set client’s active service worker to service worker.
3. Invoke Notify Controller Change algorithm with client as the argument.
```

Add a step to do the same for any worker clients whose last item in the global object's owner set is this client.

Actually 2.4.2 also looks a bit strange, I'm not sure why it says both "When the worker client is created:" and "When the fetch is routed through HTTP fetch". I think we only need the "When the worker client is created" part...?

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

Received on Friday, 20 November 2020 02:54:42 UTC