1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:17:45 +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

@ -20,4 +20,8 @@ enum class ReferrerPolicy {
UnsafeURL,
};
// https://w3c.github.io/webappsec-referrer-policy/#default-referrer-policy
// The default referrer policy is "strict-origin-when-cross-origin".
constexpr auto DEFAULT_REFERRER_POLICY = ReferrerPolicy::StrictOriginWhenCrossOrigin;
}