mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 18:50:50 +00:00
LibWeb: Implement EmbedderPolicy struct
This commit is contained in:
parent
f073f8301c
commit
190a419715
Notes:
sideshowbarker
2024-07-17 11:29:41 +09:00
Author: https://github.com/jamierocks
Commit: 190a419715
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/515
Reviewed-by: https://github.com/awesomekling
8 changed files with 89 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
#pragma once
|
||||
|
||||
#include <LibIPC/Forward.h>
|
||||
#include <LibWeb/HTML/EmbedderPolicy.h>
|
||||
#include <LibWeb/ReferrerPolicy/ReferrerPolicy.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
@ -18,7 +19,8 @@ struct PolicyContainer {
|
|||
// FIXME: A CSP list, which is a CSP list. It is initially empty.
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/origin.html#policy-container-embedder-policy
|
||||
// FIXME: An embedder policy, which is an embedder policy. It is initially a new embedder policy.
|
||||
// An embedder policy, which is an embedder policy. It is initially a new embedder policy.
|
||||
EmbedderPolicy embedder_policy {};
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/origin.html#policy-container-referrer-policy
|
||||
// A referrer policy, which is a referrer policy. It is initially the default referrer policy.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue