From 93a436f280566e130d7ff22c0f7b33a227e00cb5 Mon Sep 17 00:00:00 2001
From: Julian Descottes
Enforce the policy policy.
Let navigable be the meta element's node
+ navigable.
If navigable is null, or WebDriver BiDi CSP is bypassed given + navigable is false, then enforce the policy policy.
To clone a policy container given a policy container - policyContainer:
+ policyContainer and an optional navigable-or-null navigable + (default null):Let clone be a new policy container.
For each policy in
- policyContainer's CSP list, append a copy of policy into clone's If navigable is null, or WebDriver BiDi CSP is bypassed
+ given navigable is false, then for each
+ policy in policyContainer's CSP list, append a
+ copy of policy into clone's CSP list.
Set clone's embedder
@@ -96222,8 +96230,9 @@ interface Origin {
To create a policy container from a fetch response
- given a response response and an
- environment-or-null environment: If response's URL's Origin {
data-x="clone a policy container">clone of response's URL's blob URL
entry's environment's policy
- container. Let result be a new policy container. Set result's CSP list to the
- result of parsing a response's Content Security Policies
- given response. If navigable is null, or WebDriver BiDi CSP is bypassed
+ given navigable is false, then set result's CSP list to the 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 Origin {
To determine navigation params
- policy container given a URL responseURL and four given a URL responseURL, four policy container-or-nulls historyPolicyContainer,
initiatorPolicyContainer, parentPolicyContainer, and
- responsePolicyContainer: Return a clone of
- historyPolicyContainer. Assert: parentPolicyContainer is not null. Return a clone of
- parentPolicyContainer. If responseURL is local and
initiatorPolicyContainer is not null, then return a clone of initiatorPolicyContainer. If responsePolicyContainer is not null, then return
responsePolicyContainer. Let finalSandboxFlags be the union of
targetSnapshotParams's sandboxing
@@ -110066,7 +110080,8 @@ location.href = '#foo';
data-x="she-document-state">document state's history policy container, null,
navigable's container document's policy container, and null. Return a new navigation params, with Set responsePolicyContainer to the result of creating a policy
- container from a fetch response given response and request's
- reserved client. Set finalSandboxFlags to the union of
targetSnapshotParams's sandboxing
@@ -161929,6 +161945,7 @@ INSERT INTERFACES HERE
Juanmi Huertas,
Jukka K. Korpela,
Jules Clément-Ripoche,
+ Julian Descottes,
Julian Reschke,
Julio Lopez,
小勝 純 (Jun Kokatsu),
@@ -96284,13 +96296,14 @@ interface Origin {