diff options
Diffstat (limited to 'tests/wpt/meta/content-security-policy/script-src')
5 files changed, 5 insertions, 38 deletions
diff --git a/tests/wpt/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-external-hash-policy.html.ini b/tests/wpt/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-external-hash-policy.html.ini deleted file mode 100644 index 6ff412416ae..00000000000 --- a/tests/wpt/meta/content-security-policy/script-src/script-src-report-only-policy-works-with-external-hash-policy.html.ini +++ /dev/null @@ -1,6 +0,0 @@ -[script-src-report-only-policy-works-with-external-hash-policy.html] - [Should fire securitypolicyviolation event] - expected: FAIL - - [External script in a script tag with matching SRI hash should run.] - expected: FAIL diff --git a/tests/wpt/meta/content-security-policy/script-src/script-src-sri_hash.sub.html.ini b/tests/wpt/meta/content-security-policy/script-src/script-src-sri_hash.sub.html.ini index 7ce862f5a16..3324bf91bd7 100644 --- a/tests/wpt/meta/content-security-policy/script-src/script-src-sri_hash.sub.html.ini +++ b/tests/wpt/meta/content-security-policy/script-src/script-src-sri_hash.sub.html.ini @@ -2,8 +2,11 @@ [multiple matching integrity] expected: FAIL - [partially matching integrity] + [matching integrity] expected: FAIL - [External script in a script tag with matching SRI hash should run.] + [matching integrity (case-insensitive algorithm)] + expected: FAIL + + [matching plus unsupported integrity] expected: FAIL diff --git a/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_source_expressions.html.ini b/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_source_expressions.html.ini deleted file mode 100644 index 63cfa444854..00000000000 --- a/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_discard_source_expressions.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[script-src-strict_dynamic_discard_source_expressions.html] - [Allowed scripts without a correct nonce are not permitted with `strict-dynamic`.] - expected: FAIL diff --git a/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.sub.html.ini b/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.sub.html.ini deleted file mode 100644 index c9d74462151..00000000000 --- a/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_double_policy_honor_source_expressions.sub.html.ini +++ /dev/null @@ -1,3 +0,0 @@ -[script-src-strict_dynamic_double_policy_honor_source_expressions.sub.html] - [Non-allowed script injected via `appendChild` is not permitted with `strict-dynamic` + a nonce+allowed double policy.] - expected: FAIL diff --git a/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.ini b/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.ini index 44bc930f887..67a423f9b8a 100644 --- a/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.ini +++ b/tests/wpt/meta/content-security-policy/script-src/script-src-strict_dynamic_parser_inserted.html.ini @@ -1,29 +1,5 @@ [script-src-strict_dynamic_parser_inserted.html] expected: TIMEOUT - [Parser-inserted script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.] - expected: FAIL - - [Parser-inserted deferred async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.] - expected: TIMEOUT - [Script injected via `innerHTML` is not allowed with `strict-dynamic`.] expected: TIMEOUT |