LibWeb: Enforce Content Security Policy on Fetch requests

This commit is contained in:
Luke Wilde 2024-11-25 17:29:27 +00:00 committed by Alexander Kalenik
parent 86170f4bfd
commit 6f771f45e2
Notes: github-actions[bot] 2025-03-18 23:56:19 +00:00
5 changed files with 122 additions and 2 deletions

View file

@ -7,6 +7,9 @@
#include <AK/Array.h>
#include <LibGC/Heap.h>
#include <LibJS/Runtime/Realm.h>
#include <LibWeb/ContentSecurityPolicy/Directives/Names.h>
#include <LibWeb/ContentSecurityPolicy/PolicyList.h>
#include <LibWeb/ContentSecurityPolicy/Violation.h>
#include <LibWeb/DOMURL/DOMURL.h>
#include <LibWeb/Fetch/Fetching/PendingResponse.h>
#include <LibWeb/Fetch/Infrastructure/HTTP/Requests.h>