LibWeb: Report CSP violations for request

This commit is contained in:
Luke Wilde 2024-11-28 11:57:04 +00:00 committed by Alexander Kalenik
commit 51796e2d3a
Notes: github-actions[bot] 2025-03-18 23:56:12 +00:00
3 changed files with 28 additions and 1 deletions

View file

@ -10,6 +10,7 @@
namespace Web::ContentSecurityPolicy {
void report_content_security_policy_violations_for_request(JS::Realm&, GC::Ref<Fetch::Infrastructure::Request>);
[[nodiscard]] Directives::Directive::Result should_request_be_blocked_by_content_security_policy(JS::Realm&, GC::Ref<Fetch::Infrastructure::Request>);
}