Re: [ServiceWorker] Serialize the steps of Update/Install/Activate algorithms instead of running them 'atomically' in parallel. (240054c)

@nikhilm @mattto 
I moved the "Pop the top element from .." step to the end of the atomic operation block in Update/Install and removed the "atomically" constraint. This change ensures those code blocks run thread safe. And I also tried to address this comment: https://github.com/slightlyoff/ServiceWorker/issues/461#issue-42936510.

I believe this change does not alter the behavior of the algorithm.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/commit/240054c9772f67df35ff323fed4d9510e2d37087#commitcomment-10491078

Received on Tuesday, 31 March 2015 12:15:43 UTC