ladybird/Libraries/LibWeb/ContentSecurityPolicy
Timothy Flynn 9375660b64 LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP
The end goal here is for LibHTTP to be the home of our RFC 9111 (HTTP
caching) implementation. We currently have one implementation in LibWeb
for our in-memory cache and another in RequestServer for our disk cache.

The implementations both largely revolve around interacting with HTTP
headers. But in LibWeb, we are using Fetch's header infra, and in RS we
are using are home-grown header infra from LibHTTP.

So to give these a common denominator, this patch replaces the LibHTTP
implementation with Fetch's infra. Our existing LibHTTP implementation
was not particularly compliant with any spec, so this at least gives us
a standards-based common implementation.

This migration also required moving a handful of other Fetch AOs over
to LibHTTP. (It turns out these AOs were all from the Fetch/Infra/HTTP
folder, so perhaps it makes sense for LibHTTP to be the implementation
of that entire set of facilities.)
2025-11-27 14:57:29 +01:00
..
Directives LibWeb: Add require-trusted-types-for Directive 2025-09-01 16:19:24 +01:00
BlockingAlgorithms.cpp LibWeb: Allow CSP to block eval invocations based on TrustedTypes 2025-11-11 09:58:34 +01:00
BlockingAlgorithms.h LibWeb: Enforce Integrity Policy on Fetch requests 2025-08-14 13:37:38 +01:00
Policy.cpp LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
Policy.h LibWeb: Store HTTP methods and headers as ByteString 2025-11-26 09:15:06 -05:00
PolicyList.cpp LibWeb/CSP: Implement the sandbox directive 2025-08-07 19:24:39 +02:00
PolicyList.h LibWeb: Support Content-Security-Policy http-equiv state on meta element 2025-05-23 16:39:13 +02:00
SecurityPolicyViolationEvent.cpp LibWeb: Only set prototype once for object with IDL interface 2025-04-20 18:43:11 +02:00
SecurityPolicyViolationEvent.h LibWeb/CSP: Implement SecurityPolicyViolationEvent 2025-03-19 00:55:14 +01:00
SecurityPolicyViolationEvent.idl LibWeb/CSP: Implement SecurityPolicyViolationEvent 2025-03-19 00:55:14 +01:00
SerializedPolicy.cpp LibURL+LibWeb: Make URL::Origin default constructor private 2025-06-17 20:54:03 +02:00
SerializedPolicy.h LibWeb/CSP: Introduce the ability to create and report a violation 2025-03-19 00:55:14 +01:00
Violation.cpp LibHTTP+LibWeb+RequestServer: Move Fetch's HTTP header infra to LibHTTP 2025-11-27 14:57:29 +01:00
Violation.h LibWeb/CSP: Introduce the ability to create and report a violation 2025-03-19 00:55:14 +01:00