From b2e42435eb00d26964a90f4f3ce4429dbed1c1a1 Mon Sep 17 00:00:00 2001 From: Jungkee Song Date: Wed, 7 Jun 2017 13:33:29 +0900 Subject: [PATCH] Backport https://github.com/w3c/ServiceWorker/commit/5430012e1fb95fde28c77273004059ead9b95b60 to V1 --- docs/v1/index.bs | 2 +- docs/v1/index.html | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/v1/index.bs b/docs/v1/index.bs index b3df5190..45bcc10b 100644 --- a/docs/v1/index.bs +++ b/docs/v1/index.bs @@ -2517,7 +2517,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe 1. If |serviceWorker| is not running, abort these steps. 1. Let |serviceWorkerGlobalScope| be |serviceWorker|'s [=service worker/global object=]. - 1. Set |serviceWorkerGlobalScope|'s closing flag to true. + 1. Set |serviceWorkerGlobalScope|'s [=WorkerGlobalScope/closing=] flag to true. 1. [=set/Remove=] all the [=items=] from |serviceWorker|'s [=set of extended events=]. 1. If there are any tasks, whose task source is either the handle fetch task source or the handle functional event task source, queued in |serviceWorkerGlobalScope|'s event loop's [=/task queues=], queue them to |serviceWorker|'s containing service worker registration's corresponding [=service worker registration/task queues=] in the same order using their original task sources, and discard all the tasks (including tasks whose task source is neither the handle fetch task source nor the handle functional event task source) from |serviceWorkerGlobalScope|'s event loop's [=/task queues=] without processing them. diff --git a/docs/v1/index.html b/docs/v1/index.html index b8757034..0400c950 100644 --- a/docs/v1/index.html +++ b/docs/v1/index.html @@ -1177,7 +1177,7 @@ } } - +