@@ -99241,14 +99241,11 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
99241
99241
<var>response</var> and <var>inside settings</var>.</p></li>
99242
99242
99243
99243
<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
99247
99245
<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>.
99252
99249
99253
99250
<p class="XXX">This really ought to be set when the agent cluster is created, which requires a
99254
99251
redesign of this section.</p>
@@ -99433,6 +99430,20 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
99433
99430
an <span>active needed worker</span> and the worker continues executing even after its <span
99434
99431
data-x="dom-WorkerGlobalScope-closing">closing</span> flag was set to true.</p>
99435
99432
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
+
99436
99447
</div>
99437
99448
99438
99449
0 commit comments