[ServiceWorker] Activate uses "Wait for X to settle" inside a synchronous task. (#628)

https://slightlyoff.github.io/ServiceWorker/spec/service_worker/index.html#activation-algorithm has:

1. ...
1. Queue a task to run the following substeps:
  1. ...
  1. Wait until p settles.

Tasks run in the main JS event loop, so they can't block.

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

Received on Wednesday, 18 February 2015 00:51:59 UTC