mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-16 05:51:55 +00:00
LibWeb: Enforce Content Security Policy of Fetch responses
This commit is contained in:
parent
51796e2d3a
commit
7643a079c0
Notes:
github-actions[bot]
2025-03-18 23:56:07 +00:00
Author: https://github.com/Lubrsi
Commit: 7643a079c0
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3972
3 changed files with 38 additions and 2 deletions
|
@ -12,5 +12,6 @@ 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>);
|
||||
[[nodiscard]] Directives::Directive::Result should_response_to_request_be_blocked_by_content_security_policy(JS::Realm&, GC::Ref<Fetch::Infrastructure::Response>, GC::Ref<Fetch::Infrastructure::Request>);
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue