1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:38:13 +00:00

LibWeb: Add referrer policy to PolicyContainer

This commit is contained in:
Linus Groh 2022-10-13 18:23:10 +02:00
parent 4817b7c623
commit 0ee8da9556
2 changed files with 8 additions and 1 deletions

View file

@ -6,6 +6,8 @@
#pragma once
#include <LibWeb/ReferrerPolicy/ReferrerPolicy.h>
namespace Web::HTML {
// https://html.spec.whatwg.org/multipage/origin.html#policy-container
@ -18,7 +20,8 @@ struct PolicyContainer {
// FIXME: An embedder policy, which is an embedder policy. It is initially a new embedder policy.
// https://html.spec.whatwg.org/multipage/origin.html#policy-container-referrer-policy
// FIXME: A referrer policy, which is a referrer policy. It is initially the default referrer policy.
// A referrer policy, which is a referrer policy. It is initially the default referrer policy.
ReferrerPolicy::ReferrerPolicy referrer_policy { ReferrerPolicy::DEFAULT_REFERRER_POLICY };
};
}