- From: Matt Falkenhagen <notifications@github.com>
- Date: Mon, 18 Jun 2018 23:57:58 -0700
- To: w3c/ServiceWorker <ServiceWorker@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 19 June 2018 06:58:22 UTC
The Activate algorithm's final step was to run Update Worker State to make the worker `activated`. However Update Worker State just queues a task to do so. So the task would run after skipWaiting() resolved its promise, which wasn't the intent of the spec. Fixes #1187. You can view, comment on, or merge this pull request online at: https://github.com/w3c/ServiceWorker/pull/1327 -- Commit Summary -- * Resolve the skipWaiting() promise after activation completes. -- File Changes -- M docs/index.bs (5) -- Patch Links -- https://github.com/w3c/ServiceWorker/pull/1327.patch https://github.com/w3c/ServiceWorker/pull/1327.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/1327
Received on Tuesday, 19 June 2018 06:58:22 UTC