Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yutaka Hirano committed Mar 1, 2021
1 parent 5539aeb commit 40ecfd8
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -99241,14 +99241,11 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
<var>response</var> and <var>inside settings</var>.</p></li>

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

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

<p>To <dfn export>choose a cross-origin isolation mode</dfn>, given a
<code>WorkerGlobalScope</code> <var>worker global scope</var>, run these steps:

<ol>
<li><p>If <var>worker global scope</var>'s <span
data-x="concept-WorkerGlobalScope-embedder-policy">embedder policy</span> is "<code
data-x="coep-require-corp">require-corp</code>", then return "<code
data-x="cross-origin-isolation-logical">logical</code>" or "<code
data-x="cross-origin-isolation-concrete">concrete</code>". The one chosen is
<span>implementation-defined</span>.</p></li>

<li><p>Otherwise, return "<code data-x="cross-origin-isolation-none">none</code>".
</ol>

</div>


Expand Down

0 comments on commit 40ecfd8

Please sign in to comment.