- From: Jungkee Song <notifications@github.com>
- Date: Mon, 20 Apr 2015 21:14:02 -0700
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 21 April 2015 04:14:24 UTC
`.claim()` claims all the clients whose origin is the same origin to the service worker the method is running on to be immediately controlled by it as long as the service worker is an active worker. In the example, the registration for '/a', for '/a/b' and for '/a/b/c' are three different registrations. And at step 4, the service worker in the registration for '/a/b/c', as it's been an active worker already, immediately becomes the controller for d.html which was being controlled by the registration for '/a' by this time. I don't see a reason Handle Service Worker Client Unload should be run here. Please let me know if I'm misunderstanding your question. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/682#issuecomment-94633179
Received on Tuesday, 21 April 2015 04:14:24 UTC