Re: [w3c/ServiceWorker] Clarification on what happens during a terminated activation (#1372)

Yes, the issue is around browser shutdown.  That is where I have been seeing the unexpected partial state in Edge.

It's this behavior in Chrome I was addressing in the original issue: 
> I think we also added an condition that if activation failed due to shutdown (we can sometimes detect it at that point), that the activation attempt is forgotten and it'd run it on the next worker startup.

Perhaps the activate handlers are not being re-run, but I am running into this behavior you described (or activation is being properly delayed through your 1s timeout)

Maybe this behavior and the timeout should be standard? Otherwise it seems browser shutdown during activation is going to cause issues for all apps using a service worker, depending on a predictable activated state.

-- 
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/1372#issuecomment-445027911

Received on Thursday, 6 December 2018 21:01:17 UTC