Skip to content

Commit 2c3785b

Browse files
committed
Define settings object's cross-origin isolated capability for SW
Related to whatwg/html#5435 and whatwg/html#5752.
1 parent 044cc99 commit 2c3785b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/index.bs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2894,6 +2894,8 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
28942894
:: Return |workerGlobalScope|'s [=WorkerGlobalScope/referrer policy=].
28952895
: The [=environment settings object/embedder policy=]
28962896
:: Return |workerGlobalScope|'s [=WorkerGlobalScope/embedder policy=].
2897+
: The [=environment settings object/cross-origin isolated capability=]
2898+
:: Return whether |workerGlobalScope|'s [=WorkerGlobalScope/embedder policy=]'s [=embedder policy/value] is "`[embedder policy value/require-corp]`".
28972899
28982900
1. Set |settingsObject|'s [=environment/id=] to a new unique opaque string, [=creation URL=] to |serviceWorker|'s [=service worker/script url=], [=environment/top-level creation URL=] to null, [=environment/top-level origin=] to an [=implementation-defined=] value, [=environment/target browsing context=] to null, and [=active service worker=] to null.
28992901
1. Set |workerGlobalScope|'s [=WorkerGlobalScope/url=] to |serviceWorker|'s [=service worker/script url=].

0 commit comments

Comments
 (0)