Re: [slightlyoff/ServiceWorker] Install algorithm step 14 should clear waiting worker before updating state to redundant (#851)

I think we should do two things:

1. Require "in parallel" algorithms to queue tasks when they want to resolve promises. E.g., the promises guide doesn't specify an "event source" and that can be problematic if ordering is important as it is here.
2. Make it clear that "in parallel" algorithms can only ever queue tasks, and not queue microtasks. The latter is rather unpredictable as the microtask could end up in whatever task happens to be running, which is quite strange, a security issue, not what is implemented, etc.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/851#issuecomment-215327700

Received on Thursday, 28 April 2016 06:52:51 UTC