Re: [ServiceWorker] Possible run-to-completion violation in "Handle Service Worker Client Unload" (#746)

I thought the following: (as Update cancelling the uninstalling registration by default seems reasonable as we've done so far. Soft Update can choose whether the caller wants the cancellation or not.)

[Update](https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#update-algorithm) has _cancel uninstallation flag_, an optional flag unset by default

Update

1. If registration's uninstalling flag is set and _cancel uninstallation flag_ is unset, then:
  1. Unset registration's uninstalling flag.

Soft Update
...
Invoke Update algorithm with its arguments and _cancel uninstallation flag_ set.

WDYT?

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

Received on Tuesday, 22 September 2015 03:02:17 UTC