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 @@
[frame-src-blocked.sub.html]
expected: ERROR
[Expecting logs: ["PASS IFrame #1 generated a load event.","violated-directive=frame-src"\]]
expected: FAIL

View file

@ -0,0 +1,3 @@
[frame-src-cross-origin-same-document-navigation.window.html]
[frame-src-cross-origin-same-document-navigation]
expected: FAIL

View file

@ -0,0 +1,4 @@
[frame-src-redirect.html]
expected: TIMEOUT
[Redirected iframe src should evaluate both enforced and report-only policies on both original request and when following redirect]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[frame-src-same-document-meta.sub.html]
expected: TIMEOUT
[Same-document navigations in an iframe blocked by CSP frame-src dynamically using the <meta> tag]
expected: TIMEOUT

View file

@ -0,0 +1,4 @@
[frame-src-same-document.sub.html]
expected: TIMEOUT
[Same-document navigation in an iframe blocked by CSP frame-src]
expected: TIMEOUT

View file

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