mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Add referrer policy to PolicyContainer
This commit is contained in:
parent
4817b7c623
commit
0ee8da9556
Notes:
sideshowbarker
2024-07-17 05:09:13 +09:00
Author: https://github.com/linusg
Commit: 0ee8da9556
Pull-request: https://github.com/SerenityOS/serenity/pull/15778
Reviewed-by: https://github.com/awesomekling ✅
2 changed files with 8 additions and 1 deletions
|
@ -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 };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue