Re: [ServiceWorker] Promise on navigator.serviceWorker that resolves when page is controlled (#799)

> That page self registers, so the initial page is not controlled.

The page will have its controller only after `clients.claim()` step 3.4.2 is executed, which is after the Activate algorithm completed. If the test fetch has already happened before that, it falls back to the network in Handle Fetch algorithm before dispatching fetch event.


---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/799#issuecomment-166295313

Received on Monday, 21 December 2015 12:37:29 UTC