Luke Wilde
35c6d52d7d
LibWeb/CSP: Update invalid sample assertion in violation reporting
...
Asserting that a sample is not provided if the resource is not Inline
is not quite valid, since Eval, TrustedTypesSink and TrustedTypesPolicy
also provide a sample.
Spec issue: https://github.com/w3c/webappsec-csp/issues/788
2025-10-31 09:08:36 +01:00
Tim Ledbetter
aadd563592
LibWeb: Replace usages of dynamic_cast with as and as_if
2025-08-22 20:26:09 +02:00
Kenneth Myhra
70cafc558e
LibWeb: Replace request's "window" with "traversable for user prompts"
...
User prompts are not tied to specific Windows or the client's Window.
They are tied to a traversable navigable (browser tab).
2025-08-08 11:12:53 +01:00
Luke Wilde
86170f4bfd
LibWeb/CSP: Introduce the ability to create and report a violation
...
A violation provides several details about an enforcement failing, such
as the URL of the document, the directive that returned "Blocked", etc.
2025-03-19 00:55:14 +01:00