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

> Resolve is meant to queue a task if running in parallel

Yeah, I had missed the paragraph right below.

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

Can't we assume or specify (in the promises guide) the event source for the promise settlement would be the DOM manipulation task source? I like the way the promises guide does queue a task so the specs use it don't have to do it themselves everywhere. I guess the order between other task sources and the DOM manipulation task source won't matter much.

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

Received on Wednesday, 4 May 2016 01:48:09 UTC