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:
Luke Wilde 2024-11-26 15:43:02 +00:00 committed by Alexander Kalenik
commit 02236be737
Notes: github-actions[bot] 2025-03-18 23:56:31 +00:00
9 changed files with 168 additions and 0 deletions

View file

@ -102,6 +102,8 @@ class DecompressionStream;
namespace Web::ContentSecurityPolicy {
class Policy;
class PolicyList;
class SecurityPolicyViolationEvent;
struct SecurityPolicyViolationEventInit;
struct SerializedPolicy;
}