mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Set cryptographic nonce metadata for module script fetch operations (#36776)
This fixes a bunch of CSP errors on reddit.com --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
53107ec157
commit
d8c2a7eaf1
9 changed files with 4 additions and 83 deletions
|
@ -1,9 +0,0 @@
|
|||
[code-cache-nonce.html]
|
||||
[First dynamic import should use nonce=abc]
|
||||
expected: FAIL
|
||||
|
||||
[Second dynamic import should use nonce=def]
|
||||
expected: FAIL
|
||||
|
||||
[Third dynamic import should use nonce=ghi]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[propagate-nonce-external-classic.html]
|
||||
[Dynamically imported module should eval when imported from script w/ a valid nonce.]
|
||||
expected: FAIL
|
|
@ -1,2 +0,0 @@
|
|||
[propagate-nonce-external-module.html]
|
||||
expected: TIMEOUT
|
|
@ -1,3 +0,0 @@
|
|||
[propagate-nonce-inline-classic.html]
|
||||
[Dynamically imported module should eval when imported from script w/ a valid nonce.]
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[propagate-nonce-inline-module.html]
|
||||
[Dynamically imported module should eval when imported from script w/ a valid nonce.]
|
||||
expected: FAIL
|
|
@ -1,18 +1,3 @@
|
|||
[string-compilation-nonce-classic.html]
|
||||
[reflected inline event handlers must not inherit the nonce from the triggering script, thus fail]
|
||||
expected: PASS
|
||||
|
||||
[inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail]
|
||||
expected: PASS
|
||||
|
||||
[setTimeout must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
||||
|
||||
[direct eval must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
||||
|
||||
[indirect eval must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
||||
|
||||
[the Function constructor must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
|
@ -1,18 +1,3 @@
|
|||
[string-compilation-nonce-module.html]
|
||||
[reflected inline event handlers must not inherit the nonce from the triggering script, thus fail]
|
||||
expected: PASS
|
||||
|
||||
[inline event handlers triggered via UA code must not inherit the nonce from the triggering script, thus fail]
|
||||
expected: PASS
|
||||
|
||||
[direct eval must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
||||
|
||||
[indirect eval must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
||||
|
||||
[the Function constructor must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
||||
|
||||
[setTimeout must inherit the nonce from the triggering script, thus execute]
|
||||
expected: FAIL
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,30 +0,0 @@
|
|||
[v8-code-cache.html]
|
||||
[text/javascript: Run #1]
|
||||
expected: FAIL
|
||||
|
||||
[text/javascript: Run #2]
|
||||
expected: FAIL
|
||||
|
||||
[text/javascript: Run #3]
|
||||
expected: FAIL
|
||||
|
||||
[text/javascript: Run #4]
|
||||
expected: FAIL
|
||||
|
||||
[text/javascript: Run #5]
|
||||
expected: FAIL
|
||||
|
||||
[module: Run #1]
|
||||
expected: FAIL
|
||||
|
||||
[module: Run #2]
|
||||
expected: FAIL
|
||||
|
||||
[module: Run #3]
|
||||
expected: FAIL
|
||||
|
||||
[module: Run #4]
|
||||
expected: FAIL
|
||||
|
||||
[module: Run #5]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue