mirror of
https://github.com/servo/servo.git
synced 2025-10-01 00:59:15 +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
6
tests/wpt/meta/content-security-policy/nonce-hiding/dangling-html-or-body.html.ini
vendored
Normal file
6
tests/wpt/meta/content-security-policy/nonce-hiding/dangling-html-or-body.html.ini
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[dangling-html-or-body.html]
|
||||
[Nonces don't leak via CSS side-channels when a dangling body is injected.]
|
||||
expected: FAIL
|
||||
|
||||
[Nonces don't leak via CSS side-channels when a dangling html is injected.]
|
||||
expected: FAIL
|
42
tests/wpt/meta/content-security-policy/nonce-hiding/nonces.html.ini
vendored
Normal file
42
tests/wpt/meta/content-security-policy/nonce-hiding/nonces.html.ini
vendored
Normal file
|
@ -0,0 +1,42 @@
|
|||
[nonces.html]
|
||||
[Basic nonce tests for meh in HTML namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Basic nonce tests for div in HTML namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Basic nonce tests for script in HTML namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Basic nonce tests for meh in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Ensure that removal of content attribute does not affect IDL attribute for meh in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Test empty nonces for meh in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Basic nonce tests for svg in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Ensure that removal of content attribute does not affect IDL attribute for svg in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Test empty nonces for svg in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Basic nonce tests for script in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Ensure that removal of content attribute does not affect IDL attribute for script in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Test empty nonces for script in SVG namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Basic nonce tests for style in HTML namespace]
|
||||
expected: FAIL
|
||||
|
||||
[Basic nonce tests for link in HTML namespace]
|
||||
expected: FAIL
|
6
tests/wpt/meta/content-security-policy/nonce-hiding/script-nonces-hidden-meta.sub.html.ini
vendored
Normal file
6
tests/wpt/meta/content-security-policy/nonce-hiding/script-nonces-hidden-meta.sub.html.ini
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
[script-nonces-hidden-meta.sub.html]
|
||||
[Writing 'nonce' IDL attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[createElement.nonce.]
|
||||
expected: FAIL
|
30
tests/wpt/meta/content-security-policy/nonce-hiding/script-nonces-hidden.html.ini
vendored
Normal file
30
tests/wpt/meta/content-security-policy/nonce-hiding/script-nonces-hidden.html.ini
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
[script-nonces-hidden.html]
|
||||
[Reading 'nonce' content attribute and IDL attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Cloned node retains nonce.]
|
||||
expected: FAIL
|
||||
|
||||
[Cloned node retains nonce when inserted.]
|
||||
expected: FAIL
|
||||
|
||||
[Writing 'nonce' IDL attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Document-written script's nonce value.]
|
||||
expected: FAIL
|
||||
|
||||
[createElement.nonce.]
|
||||
expected: FAIL
|
||||
|
||||
[setAttribute('nonce') overwrites '.nonce' upon insertion.]
|
||||
expected: FAIL
|
||||
|
||||
[createElement.setAttribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Custom elements expose the correct events.]
|
||||
expected: FAIL
|
||||
|
||||
[Nonces don't leak via CSS side-channels.]
|
||||
expected: FAIL
|
19
tests/wpt/meta/content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.sub.html.ini
vendored
Normal file
19
tests/wpt/meta/content-security-policy/nonce-hiding/svgscript-nonces-hidden-meta.sub.html.ini
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
[svgscript-nonces-hidden-meta.sub.html]
|
||||
expected: TIMEOUT
|
||||
[Reading 'nonce' content attribute and IDL attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Cloned node retains nonce.]
|
||||
expected: FAIL
|
||||
|
||||
[Cloned node retains nonce when inserted.]
|
||||
expected: FAIL
|
||||
|
||||
[Writing 'nonce' content attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Document-written script executes.]
|
||||
expected: NOTRUN
|
||||
|
||||
[createElement.nonce.]
|
||||
expected: FAIL
|
22
tests/wpt/meta/content-security-policy/nonce-hiding/svgscript-nonces-hidden.html.ini
vendored
Normal file
22
tests/wpt/meta/content-security-policy/nonce-hiding/svgscript-nonces-hidden.html.ini
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
[svgscript-nonces-hidden.html]
|
||||
expected: TIMEOUT
|
||||
[Reading 'nonce' content attribute and IDL attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Cloned node retains nonce.]
|
||||
expected: FAIL
|
||||
|
||||
[Cloned node retains nonce when inserted.]
|
||||
expected: FAIL
|
||||
|
||||
[Writing 'nonce' content attribute.]
|
||||
expected: FAIL
|
||||
|
||||
[Document-written script executes.]
|
||||
expected: NOTRUN
|
||||
|
||||
[createElement.nonce.]
|
||||
expected: FAIL
|
||||
|
||||
[createElement.setAttribute.]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue