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

Re-run with `retrying`/similar attribute sounds good.

We should also consider adding something like BackgroundSync's SyncEvent's `lastChance` [attribute](https://wicg.github.io/BackgroundSync/spec/#dom-syncevent-lastchance) as it's unlikely an implementation would want to perform an infinite number of retries and it might help non-bad-actor ServiceWorkers report in that they're having trouble and/or have them skip inessential steps.  Bad-actors would presumably just be mitigated by only re-dispatching "activate" when the ServiceWorker would be eligible for having an event dispatched at it normally and maintaining existing lifetime limits based on that.

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

Received on Sunday, 15 September 2019 18:51:34 UTC