diff --git a/fetch.bs b/fetch.bs index 30dceaceb..aa06de423 100644 --- a/fetch.bs +++ b/fetch.bs @@ -1870,6 +1870,25 @@ source of security bugs. Please seek security review for features that deal with exclude fragment set to true. +
To check Cross-Origin-Embedder-Policy allows credentials, given a +request request, run theses steps: + +
If request's mode is not no-cors
", return
+ false.
If request's client is null, return false.
+ +If request's client's embedder policy is not "cors-or-credentialless
", return false.
If request's origin is not same origin with + request's client's origin, + return false.
+ +Return true.
+require-corp
", then set policy to
`same-origin
`.
+ If policy is null, embedderPolicyValue is
+ "cors-or-credentialless
", and
+ forNavigation is true, then set policy to `same-origin
`.
+
Switch on policy: @@ -4549,6 +4572,10 @@ steps. They return a response.
is true; otherwise false. +
If Cross-Origin-Embedder-Policy allows credentials with request, let + includeCredentials be false.
+Let contentLength be httpRequest's body's length, if httpRequest's body is non-null; otherwise null. @@ -7720,6 +7747,7 @@ Arkadiusz Michalski, Arne Johannessen, Artem Skoretskiy, Arthur Barstow, +Arthur Sonzogni, Asanka Herath, Axel Rauschmayer, Ben Kelly,