Re: [w3c/ServiceWorker] ready promise is kind of weird with overlapping scopes (#1278)

@wanderview,

> The implication of the current spec text is that you can get a registration with a .installing worker, but not active yet and start waiting. If the registration fails to install and goes away, though, you are stuck with ready pointing at this dead registration.

I think the returned ready promise would be resolved by some later access to `.ready` that would end up a successful installation. But I agree that the step waiting for it to activate is flawed. I'm working on https://github.com/w3c/ServiceWorker/pull/1277 that would address this problem.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1278#issuecomment-366605295

Received on Monday, 19 February 2018 07:12:12 UTC