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

> Update State is using either a main thread's event loop or a worker's event loop exclusively depending on where the target `ServiceWorker` object is stored

Well, let me clarify it further as I think it can be a bit misleading. So, here's an example:
If (1) a page has `ServiceWorker` object 1, (2) a worker has `ServiceWorker` object 2, and (3)  a serviceworker has `ServiceWorker` object 3 to the same service worker gotten from the getters, Update State will queue a task to (1)'s event loop, (2)'s event loop, and (3)'s loop separately.

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

Received on Wednesday, 23 March 2016 01:28:27 UTC