mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 20:17:13 +02:00
LibWeb/CSP: Add Keyword Sources FlyStrings
This commit is contained in:
committed by
Shannon Booth
parent
31a8004ddb
commit
050f984625
Notes:
github-actions[bot]
2025-06-30 22:26:10 +00:00
Author: https://github.com/Lubrsi Commit: https://github.com/LadybirdBrowser/ladybird/commit/050f984625d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4367 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/shannonbooth
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* Copyright (c) 2025, Luke Wilde <luke@ladybird.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <LibWeb/ContentSecurityPolicy/Directives/KeywordSources.h>
|
||||
|
||||
namespace Web::ContentSecurityPolicy::Directives::KeywordSources {
|
||||
|
||||
#define __ENUMERATE_KEYWORD_SOURCE(name, value) \
|
||||
FlyString name = value##_fly_string;
|
||||
ENUMERATE_KEYWORD_SOURCES
|
||||
#undef __ENUMERATE_KEYWORD_SOURCE
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user