Skip to content

Commit

Permalink
shared worker cross-origin isolated
Browse files Browse the repository at this point in the history
  • Loading branch information
annevk committed Jun 26, 2020
1 parent bb0ac97 commit a27a45d
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -89500,7 +89500,6 @@ import "https://example.com/foo/../module2.mjs";</code></pre>

<p>An <span>agent cluster</span> has an associated <dfn>cross-origin isolated</dfn> (a boolean),
which is initially false.</p>
<!-- TODO: maybe this should move into the eventual COEP PR as it impacts shared workers? -->


<div w-nodev>
Expand Down Expand Up @@ -99053,6 +99052,17 @@ interface <dfn>SharedWorkerGlobalScope</dfn> : <span>WorkerGlobalScope</span> {
<span data-x="obtain an embedder policy">obtaining an embedder policy</span> from
<var>response</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
<var>agent</var>'s <span>agent cluster</span>'s <span>cross-origin isolated</span> to
true.</p>

<p class="XXX">This really ought to be set when the agent cluster is created, which requires a
redesign of this section.</p>
</li>

<li><p>If the result of <span data-x="check a global object's embedder policy">checking a
global object's embedder policy</span> with <var>worker global scope</var>, <var>owner</var>,
and <var>response</var> is false, then set <var>response</var> to a <span>network
Expand Down

0 comments on commit a27a45d

Please sign in to comment.