mirror of
https://github.com/servo/servo.git
synced 2025-09-30 08:39:16 +01:00
enhance: Add support for unsafe-eval
and wasm-unsafe-eval
(#32893)
Signed-off-by: Chocolate Pie <106949016+chocolate-pie@users.noreply.github.com>
This commit is contained in:
parent
2cf207ddc8
commit
92866ab911
51 changed files with 755 additions and 73 deletions
|
@ -0,0 +1,4 @@
|
|||
[eval-blocked-in-about-blank-iframe.html]
|
||||
expected: ERROR
|
||||
[eval-blocked-in-about-blank-iframe]
|
||||
expected: TIMEOUT
|
12
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/default-src-blocks-wasm.any.js.ini
vendored
Normal file
12
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/default-src-blocks-wasm.any.js.ini
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
[default-src-blocks-wasm.any.worker.html]
|
||||
[default-src-blocks-wasm]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[default-src-blocks-wasm.any.html]
|
||||
|
||||
[default-src-blocks-wasm.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[default-src-blocks-wasm.any.sharedworker.html]
|
||||
expected: ERROR
|
|
@ -0,0 +1,9 @@
|
|||
[default-src-unsafe-eval-allows-wasm.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[default-src-unsafe-eval-allows-wasm.any.worker.html]
|
||||
|
||||
[default-src-unsafe-eval-allows-wasm.any.html]
|
||||
|
||||
[default-src-unsafe-eval-allows-wasm.any.serviceworker.html]
|
||||
expected: ERROR
|
|
@ -0,0 +1,9 @@
|
|||
[default-src-wasm-unsafe-eval-allows-wasm.any.worker.html]
|
||||
|
||||
[default-src-wasm-unsafe-eval-allows-wasm.any.html]
|
||||
|
||||
[default-src-wasm-unsafe-eval-allows-wasm.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[default-src-wasm-unsafe-eval-allows-wasm.any.serviceworker.html]
|
||||
expected: ERROR
|
4
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/postMessage-wasm-module.html.ini
vendored
Normal file
4
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/postMessage-wasm-module.html.ini
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
[postMessage-wasm-module.html]
|
||||
expected: ERROR
|
||||
[Got the expected securitypolicyviolation in the iframe]
|
||||
expected: TIMEOUT
|
12
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/script-src-blocks-wasm.any.js.ini
vendored
Normal file
12
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/script-src-blocks-wasm.any.js.ini
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
[script-src-blocks-wasm.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[script-src-blocks-wasm.any.worker.html]
|
||||
[script-src-blocks-wasm]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[script-src-blocks-wasm.any.html]
|
||||
|
||||
[script-src-blocks-wasm.any.serviceworker.html]
|
||||
expected: ERROR
|
16
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/script-src-spv-asynch.any.js.ini
vendored
Normal file
16
tests/wpt/meta/content-security-policy/wasm-unsafe-eval/script-src-spv-asynch.any.js.ini
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
[script-src-spv-asynch.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[script-src-spv-asynch.any.html]
|
||||
[Securitypolicyviolation event looks like it should]
|
||||
expected: FAIL
|
||||
|
||||
|
||||
[script-src-spv-asynch.any.worker.html]
|
||||
expected: TIMEOUT
|
||||
[Securitypolicyviolation event looks like it should]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
||||
[script-src-spv-asynch.any.serviceworker.html]
|
||||
expected: ERROR
|
|
@ -0,0 +1,9 @@
|
|||
[script-src-unsafe-eval-allows-wasm.any.sharedworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[script-src-unsafe-eval-allows-wasm.any.html]
|
||||
|
||||
[script-src-unsafe-eval-allows-wasm.any.worker.html]
|
||||
|
||||
[script-src-unsafe-eval-allows-wasm.any.serviceworker.html]
|
||||
expected: ERROR
|
|
@ -0,0 +1,9 @@
|
|||
[script-src-wasm-unsafe-eval-allows-wasm.any.serviceworker.html]
|
||||
expected: ERROR
|
||||
|
||||
[script-src-wasm-unsafe-eval-allows-wasm.any.html]
|
||||
|
||||
[script-src-wasm-unsafe-eval-allows-wasm.any.worker.html]
|
||||
|
||||
[script-src-wasm-unsafe-eval-allows-wasm.any.sharedworker.html]
|
||||
expected: ERROR
|
Loading…
Add table
Add a link
Reference in a new issue