- From: Jungkee Song <notifications@github.com>
- Date: Thu, 01 Dec 2016 23:17:55 -0800
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Friday, 2 December 2016 07:18:33 UTC
Before this, skipWaiting() promises when called multiple times on a waiting worker had different behaviors among each other where the winner waits unitl the Activate is complete while others don't. This makes the behavior consistent by making the Activate be called only once. To achieve that, this removes the steps in skipWaiting() that call the Activate on a waiting worker (so promise resolves right away after setting the skip waiting flag) and simplifies the call sites of the Activate in the Install algorithm. Related issue: #1015. You can view, comment on, or merge this pull request online at: https://github.com/w3c/ServiceWorker/pull/1019 -- Commit Summary -- * Change behavior of skipWaiting() -- File Changes -- M docs/index.bs (7) M docs/index.html (278) M docs/v1/index.bs (7) M docs/v1/index.html (250) -- Patch Links -- https://github.com/w3c/ServiceWorker/pull/1019.patch https://github.com/w3c/ServiceWorker/pull/1019.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/ServiceWorker/pull/1019
Received on Friday, 2 December 2016 07:18:33 UTC