mirror of
https://github.com/servo/servo.git
synced 2025-09-07 05:28:21 +01:00
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:
parent
a0730d7154
commit
c16ca22970
509 changed files with 5492 additions and 12 deletions
30
tests/wpt/meta/content-security-policy/inside-worker/dedicatedworker-connect-src.html.ini
vendored
Normal file
30
tests/wpt/meta/content-security-policy/inside-worker/dedicatedworker-connect-src.html.ini
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
[dedicatedworker-connect-src.html]
|
||||
[Cross-origin 'fetch()' in http: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin XHR in http: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin => cross-origin 'fetch()' in http: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[WebSocket in http: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Reports match in http: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin 'fetch()' in blob: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin XHR in blob: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Same-origin => cross-origin 'fetch()' in blob: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[WebSocket in blob: with connect-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Reports match in blob: with connect-src 'self']
|
||||
expected: FAIL
|
16
tests/wpt/meta/content-security-policy/inside-worker/dedicatedworker-report-only.html.ini
vendored
Normal file
16
tests/wpt/meta/content-security-policy/inside-worker/dedicatedworker-report-only.html.ini
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
[dedicatedworker-report-only.html]
|
||||
expected: TIMEOUT
|
||||
[Cross-origin 'fetch()'.]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Cross-origin XHR.]
|
||||
expected: NOTRUN
|
||||
|
||||
[Same-origin => cross-origin 'fetch()'.]
|
||||
expected: NOTRUN
|
||||
|
||||
[WebSocket.]
|
||||
expected: NOTRUN
|
||||
|
||||
[connect-src-self-report-only]
|
||||
expected: NOTRUN
|
24
tests/wpt/meta/content-security-policy/inside-worker/dedicatedworker-script-src.html.ini
vendored
Normal file
24
tests/wpt/meta/content-security-policy/inside-worker/dedicatedworker-script-src.html.ini
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
[dedicatedworker-script-src.html]
|
||||
[Cross-origin `importScripts()` blocked in http: with script-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[`eval()` blocked in http: with script-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[`setTimeout([string\])` blocked in http: with script-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Reports are sent for http: with script-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Cross-origin `importScripts()` blocked in blob: with script-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[`eval()` blocked in blob: with script-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[`setTimeout([string\])` blocked in blob: with script-src 'self']
|
||||
expected: FAIL
|
||||
|
||||
[Reports are sent for blob: with script-src 'self']
|
||||
expected: FAIL
|
|
@ -0,0 +1,10 @@
|
|||
[serviceworker-connect-src.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[serviceworker-connect-src]
|
||||
expected: TIMEOUT
|
||||
|
||||
[serviceworker-connect-src 1]
|
||||
expected: NOTRUN
|
||||
|
||||
[serviceworker-connect-src 2]
|
||||
expected: NOTRUN
|
|
@ -0,0 +1,4 @@
|
|||
[serviceworker-report-only.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[serviceworker-report-only]
|
||||
expected: TIMEOUT
|
10
tests/wpt/meta/content-security-policy/inside-worker/serviceworker-script-src.https.sub.html.ini
vendored
Normal file
10
tests/wpt/meta/content-security-policy/inside-worker/serviceworker-script-src.https.sub.html.ini
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
[serviceworker-script-src.https.sub.html]
|
||||
expected: TIMEOUT
|
||||
[serviceworker-script-src]
|
||||
expected: TIMEOUT
|
||||
|
||||
[serviceworker-script-src 1]
|
||||
expected: NOTRUN
|
||||
|
||||
[serviceworker-script-src 2]
|
||||
expected: NOTRUN
|
3
tests/wpt/meta/content-security-policy/inside-worker/sharedworker-connect-src.sub.html.ini
vendored
Normal file
3
tests/wpt/meta/content-security-policy/inside-worker/sharedworker-connect-src.sub.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[sharedworker-connect-src.sub.html]
|
||||
[sharedworker-connect-src]
|
||||
expected: FAIL
|
2
tests/wpt/meta/content-security-policy/inside-worker/sharedworker-report-only.sub.html.ini
vendored
Normal file
2
tests/wpt/meta/content-security-policy/inside-worker/sharedworker-report-only.sub.html.ini
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
[sharedworker-report-only.sub.html]
|
||||
expected: ERROR
|
3
tests/wpt/meta/content-security-policy/inside-worker/sharedworker-script-src.sub.html.ini
vendored
Normal file
3
tests/wpt/meta/content-security-policy/inside-worker/sharedworker-script-src.sub.html.ini
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
[sharedworker-script-src.sub.html]
|
||||
[sharedworker-script-src]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue