From a27a45d847df326081aac0639caf8d138f21ebd7 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Fri, 26 Jun 2020 15:08:13 +0200 Subject: [PATCH] shared worker cross-origin isolated --- source | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source b/source index 09f2376064f..8cfa79fbbeb 100644 --- a/source +++ b/source @@ -89500,7 +89500,6 @@ import "https://example.com/foo/../module2.mjs";

An agent cluster has an associated cross-origin isolated (a boolean), which is initially false.

-
@@ -99053,6 +99052,17 @@ interface SharedWorkerGlobalScope : WorkerGlobalScope { obtaining an embedder policy from response.

+
  • +

    If worker global scope's embedder policy is "require-corp" and is shared is true, then set + agent's agent cluster's cross-origin isolated to + true.

    + +

    This really ought to be set when the agent cluster is created, which requires a + redesign of this section.

    +
  • +
  • If the result of checking a global object's embedder policy with worker global scope, owner, and response is false, then set response to a network