Skip to content

Commit fdbaf4f

Browse files
author
Yutaka Hirano
committed
fix
1 parent dd8667b commit fdbaf4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/index.bs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2876,7 +2876,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
28762876
1. Let |startFailed| be false.
28772877
1. Let |agent| be the result of [=obtain a service worker agent|obtaining a service worker agent=], and run the following steps in that context:
28782878
1. Let |agentCluster| be the [=agent cluster=] which contains |agent|.
2879-
1. If |workerGlobalScope|'s [=WorkerGlobalScope/embedder policy=] is "<code>[=embedder policy value/require-corp=]</code>", then set |agentCluster|'s [=agent cluster/cross-origin isolation mode=] to "<code>[=cross-origin isolation mode/logical=]</code>" or "<code>[=cross-origin isolation mode/concrete=]</code>". The one chosen is implementation-defined.
2879+
1. If |workerGlobalScope|'s [=WorkerGlobalScope/embedder policy=] is "<code>[=embedder policy value/require-corp=]</code>", then set |agentCluster|'s [=agent-cluster-cross-origin-isolation|cross-origin isolation mode=] to "<code>[=cross-origin isolation mode/logical=]</code>" or "<code>[=cross-origin isolation mode/concrete=]</code>". The one chosen is implementation-defined.
28802880
1. Let |realmExecutionContext| be the result of [=create a new JavaScript realm|creating a new JavaScript realm=] given |agent| and the following customizations:
28812881
* For the global object, create a new {{ServiceWorkerGlobalScope}} object. Let |workerGlobalScope| be the created object.
28822882
1. Set |serviceWorker|'s [=service worker/global object=] to |workerGlobalScope|.
@@ -2897,7 +2897,7 @@ spec: webappsec-referrer-policy; urlPrefix: https://w3c.github.io/webappsec-refe
28972897
: The [=environment settings object/embedder policy=]
28982898
:: Return |workerGlobalScope|'s [=WorkerGlobalScope/embedder policy=].
28992899
: The [=environment settings object/cross-origin isolated capability=]
2900-
:: Return whether |agentCluster's| [=agent cluster/cross-origin isolation mode=] is not "<code>[=cross-origin isolation mode/none=]</code>".
2900+
:: Return whether |agentCluster's| [=agent-cluster-cross-origin-isolation|cross-origin isolation mode=] is "<code>[=cross-origin isolation mode/concrete=]</code>".
29012901

29022902
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.
29032903
1. Set |workerGlobalScope|'s [=WorkerGlobalScope/url=] to |serviceWorker|'s [=service worker/script url=].

0 commit comments

Comments
 (0)