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

>  It's only when activation was interrupted by browser shutdown that Chrome might re-run the event handler.

What if Chrome's service worker process/thread crashes during activation, due to something outside the control of the JavaScript code being executed during the `activate` handler(s)? That's what I (think) I'm [seeing with Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=1514030) and in that scenario, as described above, Firefox ends up discarding the service worker and going back to `install` on the next navigation.

We're talking about edge cases here, but those are the most fun to code around, and from the Workbox side of things, we'd like to try to accommodate as many failure scenarios as is viable.

-- 
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-447383944

Received on Friday, 14 December 2018 16:51:43 UTC