Run all CSP tests in CI by default. (#36436)

Extending the original set from #36402 since there are additional tests
relevant to the work happening in #36409 and #36363.

Testing: New tests in CI.
Fixes: Part of https://github.com/servo/servo/issues/4577

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
Josh Matthews 2025-04-10 04:09:23 -04:00 committed by GitHub
parent a0730d7154
commit c16ca22970
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
509 changed files with 5492 additions and 12 deletions

View file

@ -0,0 +1,4 @@
[css-filter-blocked.tentative.html]
expected: TIMEOUT
[Blocked CSS filter: SVG]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[icon-blocked.sub.html]
expected: TIMEOUT
[Test that spv event is fired]
expected: NOTRUN

View file

@ -0,0 +1,3 @@
[img-src-full-host-wildcard-blocked.sub.html]
[img src does not match full host and wildcard csp directive]
expected: FAIL

View file

@ -0,0 +1,3 @@
[img-src-none-blocks-data-uri.html]
[img-src with 'none' source should not match]
expected: FAIL

View file

@ -0,0 +1,3 @@
[img-src-none-blocks.html]
[img-src with 'none' source should not match]
expected: FAIL

View file

@ -0,0 +1,4 @@
[img-src-self-unique-origin.html]
expected: TIMEOUT
[Image's url must not match with 'self'. Image must be blocked.]
expected: TIMEOUT

View file

@ -0,0 +1,3 @@
[report-blocked-data-uri.sub.html]
[Expecting logs: ["violated-directive=img-src"\]]
expected: FAIL

View file

@ -0,0 +1,4 @@
[svg-use-blocked.tentative.html]
expected: TIMEOUT
[Blocked SVG <use> element]
expected: TIMEOUT