Skip to content

Commit 4b59263

Browse files
committed
Removing service worker ID. Fixes #1076.
1 parent 175fd98 commit 4b59263

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

docs/index.bs

-3
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
148148

149149
A [=/service worker=] has an associated <dfn export id="dfn-containing-service-worker-registration" lt="registration|containing service worker registration">containing service worker registration</dfn> (a [=/service worker registration=]), which contains itself.
150150

151-
A [=/service worker=] has an associated <dfn export id="dfn-service-worker-id">id</dfn> (an opaque string), which uniquely identifies itself during the lifetime of its <a>containing service worker registration</a>.
152-
153151
A [=/service worker=] has an associated <dfn export id="dfn-service-worker-global-object" for="service worker">global object</dfn> (a {{ServiceWorkerGlobalScope}} object or null).
154152

155153
A [=/service worker=] is dispatched a set of <dfn export id="dfn-lifecycle-events">lifecycle events</dfn>, {{install!!event}} and {{activate!!event}}, and <dfn export id="dfn-functional-events">functional events</dfn> including {{fetch!!event}}.
@@ -2700,7 +2698,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
27002698
1. Invoke <a>Finish Job</a> with |job| and abort these steps.
27012699
1. Else:
27022700
1. Let |worker| be a new [=/service worker=].
2703-
1. Generate a unique opaque string and set |worker|'s <a>id</a> to the value.
27042701
1. Set |worker|'s [=service worker/script url=] to |job|'s [=job/script url=], |worker|'s <a>script resource</a> to |script|, and |worker|'s [=service worker/type=] to |job|'s <a>worker type</a>.
27052702
1. Set |worker|'s <a>script resource</a>'s <a>HTTPS state</a> to |httpsState|.
27062703
1. Set |worker|'s <a>script resource</a>'s [=script resource/referrer policy=] to |referrerPolicy|.

docs/v1/index.bs

-3
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
143143

144144
A [=/service worker=] has an associated <dfn export id="dfn-containing-service-worker-registration" lt="registration|containing service worker registration">containing service worker registration</dfn> (a [=/service worker registration=]), which contains itself.
145145

146-
A [=/service worker=] has an associated <dfn export id="dfn-service-worker-id">id</dfn> (an opaque string), which uniquely identifies itself during the lifetime of its <a>containing service worker registration</a>.
147-
148146
A [=/service worker=] has an associated <dfn export id="dfn-service-worker-global-object" for="service worker">global object</dfn> (a {{ServiceWorkerGlobalScope}} object or null).
149147

150148
A [=/service worker=] is dispatched a set of <dfn export id="dfn-lifecycle-events">lifecycle events</dfn>, {{install!!event}} and {{activate!!event}}, and <dfn export id="dfn-functional-events">functional events</dfn> including {{fetch!!event}}.
@@ -2322,7 +2320,6 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
23222320
1. Invoke <a>Finish Job</a> with |job| and abort these steps.
23232321
1. Else:
23242322
1. Let |worker| be a new [=/service worker=].
2325-
1. Generate a unique opaque string and set |worker|'s <a>id</a> to the value.
23262323
1. Set |worker|'s [=service worker/script url=] to |job|'s [=job/script url=], |worker|'s <a>script resource</a> to |script|, and |worker|'s [=service worker/type=] to |job|'s <a>worker type</a>.
23272324
1. Set |worker|'s <a>script resource</a>'s <a>HTTPS state</a> to |httpsState|.
23282325
1. Set |worker|'s <a>script resource</a>'s [=script resource/referrer policy=] to |referrerPolicy|.

0 commit comments

Comments
 (0)