diff --git a/source b/source index 8e2b247e496..264a51dae0d 100644 --- a/source +++ b/source @@ -81047,7 +81047,8 @@ interface BarProp {
Let coep be the result of obtaining a cross-origin embedder policy from response.
If coep's value is " Let coep be the result of obtaining a cross-origin embedder policy from response.require-corp
", then set policy's BarProp {
from response and
+ reservedEnvironment.
If coep's value is " To obtain an embedder policy from a response response:BarProp {
Let policy be a new embedder policy.
If environment is a non-secure context, then return + policy.
Let parsedItem be the result of getting a structured field value
with `Cross-Origin-Embedder-Policy
` and "item
" from
response's header list.
To check a navigation response's adherence to its embedder policy given a response response and a browsing context - target:
+ data-x="concept-response">response response, a browsing context + target, and an environment environment:If target is not a child browsing context, then return true.
Let responsePolicy be the result of obtaining an embedder policy from response.
Let parentPolicy be target's container document's Location { // but see also Blocked", then set failure to true.
-Otherwise, if the result of reserved environment is non-null and + the result of checking a navigation response's adherence to its embedder policy given - response and browsingContext is false, then set failure to - true.
+ response, browsingContext, and navigationParams's reserved environment is false, then set + failure to true.Otherwise, if the result of checking a navigation response's adherence to @@ -85149,10 +85159,14 @@ interface Location { // but see also response.
Set document's embedder - policy to the result of obtaining an embedder - policy from navigationParams's response.
If navigationParam's reserved environment is non-null, then set
+ document's embedder policy to
+ the result of obtaining an embedder policy given
+ navigationParams's response and
+ navigationParam's reserved
+ environment. Otherwise, set it to "unsafe-none
".
Initialize a Otherwise, set worker global scope's embedder policy to the result of
obtaining an embedder policy from
- response.Document
's CSP list given
document, navigationParams's SharedWorkerGlobalScope : WorkerGlobalScope {
If worker global scope's