Skip to content

Commit

Permalink
Define settings object's cross-origin isolated capability for SW
Browse files Browse the repository at this point in the history
  • Loading branch information
yutakahirano committed Oct 5, 2020
1 parent 044cc99 commit 2c3785b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2894,6 +2894,8 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
:: Return |workerGlobalScope|'s [=WorkerGlobalScope/referrer policy=].
: The [=environment settings object/embedder policy=]
:: Return |workerGlobalScope|'s [=WorkerGlobalScope/embedder policy=].
: The [=environment settings object/cross-origin isolated capability=]
:: Return whether |workerGlobalScope|'s [=WorkerGlobalScope/embedder policy=]'s [=embedder policy/value] is "`[embedder policy value/require-corp]`".
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.
1. Set |workerGlobalScope|'s [=WorkerGlobalScope/url=] to |serviceWorker|'s [=service worker/script url=].
Expand Down

0 comments on commit 2c3785b

Please sign in to comment.