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

@jakearchibald , I agree but you can not use them because there is a small windows between activating and activated where you don't receive functional events (like @jeffposnick discovered). It only can when it is fully activated. So, as @wanderview suggest we should resolve `.ready` when activated. The other option is to stall functional events until activation completion but this could be harmful if someone is extending the event for a long time.

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

Received on Tuesday, 15 December 2015 11:45:38 UTC