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

> @delapuente: The test I'm referring to that was flaky when waiting on .ready: https://github.com/PolymerElements/platinum-sw/blob/4cfa76aae4aa9926ace3041fecfafb25c4da2265/test/platinum-sw-fetch/index.html#L37

@jeffposnick , was the problem that your test was timing out? How long was the time out? Because, per step 4 of https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#handle-functional-event-algorithm that test should **pass** as your `fetch` should be delayed until the SW is activated.

So perhaps your test was revealing a bug in Chrome.  

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

Received on Sunday, 20 December 2015 02:28:48 UTC