From b97bfc1d963da38eaaa6663f630ea61bf40bd0c0 Mon Sep 17 00:00:00 2001 From: Mike Pennisi Date: Wed, 17 May 2017 11:32:47 -0400 Subject: [PATCH] Remove unused flag This flag is not listed in the definition of the ServiceWorkerGlobalScope's available flags. Because it is not referenced by any other specification text, the value has no effect on the observable semantics. Remove the algorithm step that references the otherwise-unused "closing" flag. --- docs/index.bs | 1 - docs/index.html | 2 -- 2 files changed, 3 deletions(-) diff --git a/docs/index.bs b/docs/index.bs index afc6d317..03e2dbf1 100644 --- a/docs/index.bs +++ b/docs/index.bs @@ -2891,7 +2891,6 @@ 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/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/index.html b/docs/index.html index daaef5f5..9321fa67 100644 --- a/docs/index.html +++ b/docs/index.html @@ -5369,8 +5369,6 @@

If serviceWorker is not running, abort these steps.

  • Let serviceWorkerGlobalScope be serviceWorker’s global object.

    -
  • -

    Set serviceWorkerGlobalScope’s closing flag to true.

  • Remove all the items from serviceWorker’s set of extended events.