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:
Chocolate Pie 2024-08-02 02:26:44 +09:00 committed by GitHub
parent 2cf207ddc8
commit 92866ab911
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
51 changed files with 755 additions and 73 deletions

View file

@ -1,3 +0,0 @@
[http-equiv-enumerated-ascii-case-insensitive.html]
[keyword content-security-policy]
expected: FAIL

View file

@ -0,0 +1,10 @@
[code-cache-nonce.html]
expected: ERROR
[First dynamic import should use nonce=abc]
expected: TIMEOUT
[Second dynamic import should use nonce=def]
expected: NOTRUN
[Third dynamic import should use nonce=ghi]
expected: NOTRUN

View file

@ -1,4 +1,5 @@
[basic.any.html]
expected: TIMEOUT
[basic.any.sharedworker.html]
expected: ERROR

View file

@ -0,0 +1,2 @@
[propagate-nonce-external-classic.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[propagate-nonce-external-module.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[propagate-nonce-inline-classic.html]
expected: TIMEOUT

View file

@ -0,0 +1,2 @@
[propagate-nonce-inline-module.html]
expected: TIMEOUT

View file

@ -1,4 +1,5 @@
[string-compilation-nonce-classic.html]
expected: TIMEOUT
[reflected inline event handlers must not inherit the nonce from the triggering script, thus fail]
expected: FAIL

View file

@ -1,4 +1,5 @@
[string-compilation-nonce-module.html]
expected: TIMEOUT
[reflected inline event handlers must not inherit the nonce from the triggering script, thus fail]
expected: FAIL

View file

@ -0,0 +1,31 @@
[v8-code-cache.html]
expected: ERROR
[text/javascript: Run #1]
expected: TIMEOUT
[text/javascript: Run #2]
expected: NOTRUN
[text/javascript: Run #3]
expected: NOTRUN
[text/javascript: Run #4]
expected: NOTRUN
[text/javascript: Run #5]
expected: NOTRUN
[module: Run #1]
expected: NOTRUN
[module: Run #2]
expected: NOTRUN
[module: Run #3]
expected: NOTRUN
[module: Run #4]
expected: NOTRUN
[module: Run #5]
expected: NOTRUN