From eb261a9411c26090a4cdee33d0b12ca7f53daa5f Mon Sep 17 00:00:00 2001 From: Jun Date: Tue, 5 Sep 2023 17:18:55 -0700 Subject: [PATCH] Update index.src.html --- index.src.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/index.src.html b/index.src.html index a6a81f1..be7c3f2 100644 --- a/index.src.html +++ b/index.src.html @@ -1095,17 +1095,11 @@

1. If |response|'s url's scheme is a local scheme, return "`Allowed`". - Note: The embedder has direct access to same-origin responses, so if it - wishes to enforce a policy on that same-origin response, we simply do so. - - 2. If |response|'s url's origin is the - same as |request|'s origin, return "`Allowed`". - - Note: Likewise, local scheme responses already inherit their policy + Note: The local scheme responses already inherit their policy from the embedder, so we allow the embedder to tighten that policy via this embedding mechanism. - 3. If |response|'s header list has a header named + 2. If |response|'s header list has a header named `Allow-CSP-From` (|header|): 1. If |header|'s value is "`*`", return "`Allowed`". @@ -1114,7 +1108,7 @@

serialized and UTF-8 encoded is |header|'s value, return "`Allowed`". - 4. Return "`Not Allowed`". + 3. Return "`Not Allowed`".

What is an intersection of two expressions matching