- From: Matt Falkenhagen <notifications@github.com>
- Date: Mon, 26 Jan 2015 21:06:56 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Tuesday, 27 January 2015 05:07:24 UTC
Thanks for the clarification Jungkee, this is what Chromium is doing (rather, it will be once https://code.google.com/p/chromium/issues/detail?id=445151 is fixed). In addition to FIFO order, Chromium does "make all the others block until the first one is done" behavior. The one exception is that a running register job waiting in the 'installing' state gets aborted whenever another register job for that scope is scheduled to run later in the queue. This stops waitUntil(new Promise({}) from blocking the queue. Also, as Michael mentioned, Chromium also coalesces multiple sequential calls with the same inputs into one job in the queue. I believe all of these are acceptable as per the spec. --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/396#issuecomment-71590525
Received on Tuesday, 27 January 2015 05:07:24 UTC