mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Report CSP violations for request
This commit is contained in:
parent
6f771f45e2
commit
51796e2d3a
Notes:
github-actions[bot]
2025-03-18 23:56:12 +00:00
Author: https://github.com/Lubrsi
Commit: 51796e2d3a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3972
3 changed files with 28 additions and 1 deletions
|
@ -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>);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue