diff --git a/source b/source
index 51b22a7ba10..f50c4bfb395 100644
--- a/source
+++ b/source
@@ -9206,9 +9206,6 @@ partial interface Document {
for="Document">policy container (a policy container), initially a new policy
container, which contains policies which apply to the Document
.
The Document
has an embedder
- policy (an embedder policy).
The Document
has a permissions policy, which
is a permissions policy, which is initially
@@ -78868,10 +78865,6 @@ popup4.close();
document's referrer to the serialization of it.
If creator is non-null, then set document's - embedder policy to creator's - embedder policy.
If creator is non-null, then set document's policy container to a clone of creator's BarProp {
Document
.
Return window's associated
- Document
's embedder
- policy.
To check a navigation response's adherence to its embedder policy given a response response, a browsing context - target, and an environment environment:
+ target, and an embedder policy responsePolicy:If target is not a child browsing context, then return true.
Let responsePolicy be the result of obtaining an embedder policy from response and - environment.
Let parentPolicy be target's container document's embedder policy.
If parentPolicy's report-only
value is "require-corp
" and
@@ -83703,7 +83688,8 @@ interface BarProp {
data-x="concept-WorkerGlobalScope-embedder-policy">embedder policy.
Let ownerPolicy be owner's embedder policy. + data-x="concept-settings-object-policy-container">policy container's embedder policy.
If ownerPolicy's report-only
value is "require-corp
" and policy's
@@ -83780,6 +83766,10 @@ interface BarProp {
A CSP list, which is a CSP list. It is initially empty.
An embedder + policy, which is an embedder policy. It is initially a new embedder + policy.
A referrer policy, which is a referrer policy. It is initially the default referrer policy.
Set clone's embedder + policy to a copy of policyContainer's embedder policy.
Set clone's referrer policy to policyContainer's referrer policy.
To create a policy container from a fetch response - given a response response:
+ given a response response and an + environment-or-null environment:If response's URL's BarProp { result of parsing a response's Content Security Policies given response.
If environment is non-null, then set result's embedder policy to the result of obtaining an embedder policy given response
+ and environment. Otherwise, set it to "unsafe-none
".
Set result's referrer
policy to the result of parsing the
`Referrer-Policy
` header given response. BarProp {
To initialize a worker global scope's policy
- container given a WorkerGlobalScope
workerGlobalScope and a response response:
WorkerGlobalScope
workerGlobalScope, a response response, and an environment
+ environment:
Otherwise, set workerGlobalScope's policy container to the result of creating a policy container from a fetch response given - response.
Let resultPolicyContainer be the result of determining navigation params policy container given response's Location { // but see also checking a navigation response's adherence to its embedder policy given response, browsingContext, and navigationParams's reserved environment is false, then set + data-x="navigation-params-policy-container">policy container's embedder policy is false, then set failure to true.
Otherwise, if the result of Set document's current document readiness to "loading
".
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
".
Run CSP initialization for a Document
given
document.
A policy container containing policies used for security checks.
-An embedder policy used by cross-origin resource policy checks for fetches - performed using this environment settings object as a request client.
Initialize worker global scope's - policy container given worker global scope, and response.
If the Run CSP initialization for a global object algorithm returns "Blocked
" when executed upon worker global scope, set
response to a network error.
If response's url's scheme is a local scheme, then set - worker global scope's embedder policy to owner's - embedder policy.
Otherwise, set worker global scope's embedder policy to the result of - obtaining an embedder policy from - response and inside settings.
If worker global scope's embedder policy is "SharedWorkerGlobalScope : WorkerGlobalScope
data-x="concept-WorkerGlobalScope-policy-container">policy container.
Return worker global scope's embedder policy.
-Return worker global scope's WorkletGlobalScope {}; container">clone of outsideSettings's policy container.
Let inheritedEmbedderPolicy be outsideSettings's embedder policy.
Let realm be the value of executionContext's Realm component.
Return inheritedPolicyContainer.
-Return inheritedEmbedderPolicy.
-Return TODO.