From 0e2bdcfc93019cb56eaa6df9793910d8090eda64 Mon Sep 17 00:00:00 2001
From: Antonio Sartori Document
.
The Document
has a referrer policy (a referrer policy), initially the empty string,
- which represents the default referrer policy used by fetches initiated by the Document
.
The Document
has an embedder
policy (an embedder policy).
If value is a referrer policy, then set element's - node document's referrer - policy to policy.
The fact that these steps are applied for each element enables document's referrer to the serialization of it.
-If creator is non-null, then set document's - referrer policy to creator's - referrer policy.
If creator is non-null, then set document's embedder policy to creator's embedder policy.
Document
.
- Let document be window's associated Document
.
While document is an iframe
- srcdoc
document and document's
- referrer policy is the empty
- string, set document to document's
- browsing context's
- container document.
Return document's referrer - policy.
Return window's associated
A CSP list,
which is a CSP list. It is initially empty. A referrer
+ policy, which is a referrer policy. It is initially the default referrer
+ policy. Move other policies into the policy container.Document
's embedder
@@ -83504,6 +83479,10 @@ interface BarProp {
Set clone's referrer + policy to policyContainer's referrer policy.
Return clone.
Set result's referrer
+ policy to the result of parsing the
+ `Referrer-Policy
` header given response.
Return result.
Content-Type
`/`text/html
` and `Referrer-Policy
`/settings's referrer
- policy, and whose body is
- result.
+ `Content-Type
`/`text/html
`, and whose body is result.
The exact conversion between the string result and the bytes that comprise a response body is not yet specified, @@ -86503,11 +86489,6 @@ interface Location { // but see also loading".
-Set document's referrer
- policy to the result of parsing the
- `Referrer-Policy
` header of navigationParams's response.
If navigationParam's reserved environment is non-null, then set document's embedder policy to @@ -88716,13 +88697,6 @@ interface BeforeUnloadEvent : Event {
A policy container containing policies used for security checks.
The default referrer policy for fetches
- performed using this environment settings object as a request client.
-
A WorkerGlobalScope
object has an associated referrer policy (a referrer
- policy). It is initially the empty string.
A WorkerGlobalScope
object has an associated embedder policy (an embedder
policy).
Set worker global scope's referrer policy to the result of
- parsing the `Referrer-Policy
`
- header of response.
If response's url's scheme is a local scheme, then set worker global scope's SharedWorkerGlobalScope : WorkerGlobalScope { data-x="concept-WorkerGlobalScope-policy-container">policy container.
Return worker global scope's referrer policy.
-Return worker global scope's WorkletGlobalScope {}; container">clone of outsideSettings's policy container.
-Let inheritedReferrerPolicy be outsideSettings's referrer policy.
Let inheritedEmbedderPolicy be outsideSettings's embedder policy.
Return inheritedPolicyContainer.
Return inheritedReferrerPolicy.
-Return inheritedEmbedderPolicy.