Skip to content

Commit 40ecfd8

Browse files
author
Yutaka Hirano
committed
fix
1 parent 5539aeb commit 40ecfd8

File tree

1 file changed

+18
-7
lines changed

1 file changed

+18
-7
lines changed

source

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -99241,14 +99241,11 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
9924199241
<var>response</var> and <var>inside settings</var>.</p></li>
9924299242

9924399243
<li>
99244-
<p>If <var>worker global scope</var>'s <span
99245-
data-x="concept-WorkerGlobalScope-embedder-policy">embedder policy</span> is "<code
99246-
data-x="coep-require-corp">require-corp</code>" and <var>is shared</var> is true, then set
99244+
<p>If <var>is shared</var> is true, then set
9924799245
<var>agent</var>'s <span>agent cluster</span>'s <span
99248-
data-x="agent-cluster-cross-origin-isolation">cross-origin isolation mode</span> to "<code
99249-
data-x="cross-origin-isolation-logical">logical</code>" or "<code
99250-
data-x="cross-origin-isolation-concrete">concrete</code>". The one chosen is
99251-
<span>implementation-defined</span>.</p>
99246+
data-x="agent-cluster-cross-origin-isolation">cross-origin isolation mode</span> to the result
99247+
of <span data-x="choose a cross-origin isolation mode">choosing a cross-origin isolateion
99248+
mode</span> with <var>worker global scope</var>.
9925299249

9925399250
<p class="XXX">This really ought to be set when the agent cluster is created, which requires a
9925499251
redesign of this section.</p>
@@ -99433,6 +99430,20 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
9943399430
an <span>active needed worker</span> and the worker continues executing even after its <span
9943499431
data-x="dom-WorkerGlobalScope-closing">closing</span> flag was set to true.</p>
9943599432

99433+
<p>To <dfn export>choose a cross-origin isolation mode</dfn>, given a
99434+
<code>WorkerGlobalScope</code> <var>worker global scope</var>, run these steps:
99435+
99436+
<ol>
99437+
<li><p>If <var>worker global scope</var>'s <span
99438+
data-x="concept-WorkerGlobalScope-embedder-policy">embedder policy</span> is "<code
99439+
data-x="coep-require-corp">require-corp</code>", then return "<code
99440+
data-x="cross-origin-isolation-logical">logical</code>" or "<code
99441+
data-x="cross-origin-isolation-concrete">concrete</code>". The one chosen is
99442+
<span>implementation-defined</span>.</p></li>
99443+
99444+
<li><p>Otherwise, return "<code data-x="cross-origin-isolation-none">none</code>".
99445+
</ol>
99446+
9943699447
</div>
9943799448

9943899449

0 commit comments

Comments
 (0)