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

FWIW, lacking formal support for such a promise in the platform, I'm adopting https://github.com/PolymerElements/platinum-sw/blob/fix-flaky-test/test/controlled-promise.js in some unit tests that need to wait until the page is controlled before they execute.

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

Received on Friday, 11 December 2015 15:54:30 UTC