mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb/CSP: Implement SecurityPolicyViolationEvent
This is used to report violations of policies to the element/global object that caused it.
This commit is contained in:
parent
564cd1849b
commit
02236be737
Notes:
github-actions[bot]
2025-03-18 23:56:31 +00:00
Author: https://github.com/Lubrsi
Commit: 02236be737
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3972
9 changed files with 168 additions and 0 deletions
|
@ -4501,6 +4501,7 @@ static void generate_using_namespace_definitions(SourceGenerator& generator)
|
|||
// FIXME: This is a total hack until we can figure out the namespace for a given type somehow.
|
||||
using namespace Web::Animations;
|
||||
using namespace Web::Clipboard;
|
||||
using namespace Web::ContentSecurityPolicy;
|
||||
using namespace Web::CredentialManagement;
|
||||
using namespace Web::Crypto;
|
||||
using namespace Web::CSS;
|
||||
|
|
|
@ -16,6 +16,7 @@ static constexpr Array libweb_interface_namespaces = {
|
|||
"CSS"sv,
|
||||
"Clipboard"sv,
|
||||
"Compression"sv,
|
||||
"ContentSecurityPolicy"sv,
|
||||
"Crypto"sv,
|
||||
"DOM"sv,
|
||||
"DOMURL"sv,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue