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:
parent
4817b7c623
commit
0ee8da9556
2 changed files with 8 additions and 1 deletions
|
@ -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;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue