9.28content-security-policy/script-src/

221 / 225 WPT subtests passing

Failed
4
Timed out
0
Not run
0
Test files
91
Blocking files
0

Chrome 221 / 225 WPT subtests passing on the same files, none blocking

Tests

1 directory, 85 test files here
DirectorySubtests passingChromeTest filesStanding
hash-always-converted-to-utf-8/8 / 88 / 86none blocking

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
eval-allowed-in-report-only-mode-and-sends-report.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Eval is allowed because the CSP is report-only
  2. Violation report status OK.
eval-allowed-in-report-only-mode.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Eval is allowed because the CSP is report-only
injected-inline-script-allowed.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["Pass 1 of 2","Pass 2 of 2"]
injected-inline-script-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["violated-directive=script-src-elem","blocked-uri=inline"]
javascript-window-open-blocked.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Check that a securitypolicyviolation event is fired
non-nonceable-elements-attr-name.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. Nonceable script element 0
  2. Non-nonceable script element 1
  3. Non-nonceable script element 2
  4. Non-nonceable script element 3
  5. Non-nonceable script element 4
  6. Non-nonceable script element 5
  7. Non-nonceable script element 6
  8. Non-nonceable script element 7
  9. Non-nonceable script element 8
  10. Non-nonceable script element 9
non-nonceable-elements.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. Nonceable script element 0
  2. Non-nonceable script element 1
  3. Non-nonceable script element 2
  4. Non-nonceable script element 3
  5. Non-nonceable script element 4
  6. Non-nonceable script element 5
  7. Non-nonceable script element 6
  8. Non-nonceable script element 7
  9. Non-nonceable script element 8
  10. Non-nonceable script element 9
nonce-enforce-blocked.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Unnonced scripts generate reports.
nonce-with-trailing-characters-blocked.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. A nonce-source with trailing characters after the closing quote ('nonce-abc'X) is invalid, so a script carrying that nonce must be blocked.
script-src-1_1.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Inline script block
  2. Inline event handler
  3. Should fire policy violation events
script-src-1_10.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Test that securitypolicyviolation event is fired
  2. Verify that data: as script src doesn't run with this policy
script-src-1_10_1.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Test that no report violation event was raised
  2. Verify that data: as script src runs with this policy
script-src-1_2.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Inline script block
  2. Inline event handler
  3. Should fire policy violation events
script-src-1_2_1.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Test that securitypolicyviolation event is fired
  2. DOM manipulation inline tests
script-src-1_3.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Should not fire policy violation events
  2. Inline script in a script tag should run with an unsafe-inline directive
script-src-1_4.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Test that securitypolicyviolation event is fired
  2. eval() should throw without 'unsafe-eval' keyword source in script-src directive.
  3. eval() should not run without 'unsafe-eval' script-src directive.
script-src-1_4_1.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. window.setTimeout()
  2. window.setInterval()
  3. Test that securitypolicyviolation event is fired
script-src-1_4_2.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Test that securitypolicyviolation event is fired
  2. Unsafe eval ran in Function() constructor.
script-src-event-handler-on-inline-script.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Use the hash of a non-empty event handler content attribute (<div> element).
  2. Use the hash of an empty event handler content attribute (<div> element).
  3. Use the hash of a non-empty event handler content attribute (<script> element).
  4. Use the hash of an empty event handler content attribute (<script> element).
script-src-multiple-policies-multiple-hashing-algorithms.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that script executes if allowed by proper hash values
script-src-multiple-policies-one-using-hashing-algorithms.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Test that script executes if allowed by proper hash values
script-src-overrides-default-src.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS 1 of 2","PASS 2 of 2"]
script-src-report-only-policy-works-with-external-hash-policy.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Should fire securitypolicyviolation event
  2. External script in a script tag with matching SRI hash should run.
script-src-report-only-policy-works-with-hash-policy.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Test that script executes if allowed by proper hash values
  2. Test that the securitypolicyviolation event is fired
script-src-sri_hash.sub.html12 / 12 passingChrome 12 / 120 failedClean
Standing
Clean runner status OK
Chrome
Clean 12 / 12 WPT subtests passing runner status OK
12 passing subtests
  1. Load all the tests.
  2. matching integrity
  3. matching integrity (case-insensitive algorithm)
  4. multiple matching integrity
  5. no integrity
  6. matching plus unsupported integrity
  7. mismatched integrity
  8. multiple mismatched integrity
  9. partially matching integrity
  10. crossorigin no integrity but allowed host
  11. crossorigin mismatched integrity but allowed host
  12. External script in a script tag with matching SRI hash should run.
script-src-strict_dynamic_and_unsafe_eval_eval.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script injected via `eval` is allowed with `strict-dynamic` with `unsafe-eval`.
script-src-strict_dynamic_and_unsafe_eval_new_function.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script injected via `new Function()` is allowed with `strict-dynamic` with `unsafe-eval`.
script-src-strict_dynamic_discard_source_expressions.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Allowed scripts without a correct nonce are not permitted with `strict-dynamic`.
script-src-strict_dynamic_double_policy_different_nonce.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Unnonced script injected via `appendChild` is not allowed with `strict-dynamic` + a nonce-only double policy.
  2. Script injected via `appendChild` with a correct nonce is allowed with `strict-dynamic` + a nonce-only double policy.
script-src-strict_dynamic_double_policy_honor_source_expressions.sub.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Script injected via `appendChild` is permitted with `strict-dynamic` + a nonce+allowed double policy.
  2. Non-allowed script injected via `appendChild` is not permitted with `strict-dynamic` + a nonce+allowed double policy.
script-src-strict_dynamic_double_policy_report_only.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script injected via `appendChild` is allowed with `strict-dynamic` + Report-Only `script-src 'none'` policy.
script-src-strict_dynamic_eval.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script injected via `eval` is not allowed with `strict-dynamic` without `unsafe-eval`.
script-src-strict_dynamic_hashes.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Script matching SHA256 hash is allowed with `strict-dynamic`.
  2. Script injected via `appendChild` from a script matching SHA256 hash is allowed with `strict-dynamic`.
  3. External script in a script tag with matching SRI hash is allowed with `strict-dynamic`.
script-src-strict_dynamic_in_img-src.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. `strict-dynamic` does not drop allowed source expressions in `img-src`.
script-src-strict_dynamic_javascript_uri.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script injected via `javascript:` URIs are not allowed with `strict-dynamic`.
script-src-strict_dynamic_meta_tag.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Script injected via `appendChild` is allowed with `strict-dynamic`.
  2. Script injected via `appendChild` is allowed with `strict-dynamic`, even if it carries an incorrect nonce.
  3. Script injected via `appendChild` populated via `textContent` is allowed with `strict-dynamic`.
  4. Script injected via `appendChild` populated via `textContent` is allowed with `strict-dynamic`, even if it carries an incorrect nonce.
script-src-strict_dynamic_modulepreload_integrity_mismatch.html2 / 6 passingChrome 2 / 64 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 2 / 6 WPT subtests passing runner status OK
  1. FAILParser-inserted external module script with unverified integrity hitting a `modulepreload` entry is blocked with `strict-dynamic`.
    assert_unreached: A modulepreloaded parser-inserted external module script with unverified integrity must not execute. Reached unreachable code
  2. FAILParser-inserted external module script with policy hash hitting a `modulepreload` entry with dummy integrity is blocked with `strict-dynamic`.
    assert_unreached: A modulepreloaded parser-inserted external module script with dummy preload integrity must not execute. Reached unreachable code
  3. FAILParser-inserted external module script with dummy integrity hitting a `modulepreload` entry with dummy integrity is blocked with `strict-dynamic`.
    assert_unreached: A modulepreloaded parser-inserted external module script with dummy integrity on both preload and script must not execute. Reached unreachable code
  4. FAILParser-inserted data: module script with unverified integrity hitting a `modulepreload` entry is blocked with `strict-dynamic`.
    assert_unreached: A modulepreloaded parser-inserted data: module script with unverified integrity must not execute. Reached unreachable code
2 passing subtests
  1. Parser-inserted external module script hitting a `modulepreload` entry with a dummy sha256 integrity hash fails to load.
  2. Parser-inserted external module script with matching verified integrity hitting a `modulepreload` entry is allowed with `strict-dynamic`.
script-src-strict_dynamic_modulepreload_parser_inserted_module.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Parser-inserted external module script that is also `modulepreload`ed is allowed with `strict-dynamic`.
  2. Parser-inserted external module script with only a `<link rel=preload as=script>` is not allowed with `strict-dynamic`.
  3. A `modulepreload` for a different URL does not allow a parser-inserted external module script with `strict-dynamic`.
script-src-strict_dynamic_new_function.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Script injected via 'eval' is not allowed with 'strict-dynamic' without 'unsafe-eval'.
script-src-strict_dynamic_non_parser_inserted.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Script injected via `appendChild` is allowed with `strict-dynamic`.
  2. Script injected via `appendChild` is allowed with `strict-dynamic`, even if it carries an incorrect nonce.
  3. Script injected via `appendChild` populated via `textContent` is allowed with `strict-dynamic`.
  4. Script injected via `appendChild` populated via `textContent` is allowed with `strict-dynamic`, even if it carries an incorrect nonce.
script-src-strict_dynamic_non_parser_inserted_incorrect_nonce.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. All the expected CSP violation reports have been fired.
script-src-strict_dynamic_non_parser_inserted_module.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Module script injected via `appendChild` is allowed with `strict-dynamic`.
  2. Module script injected via `appendChild` is allowed with `strict-dynamic`, even if it carries an incorrect nonce.
script-src-strict_dynamic_parser_inserted.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. Parser-inserted script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
  2. Parser-inserted script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
  3. Parser-inserted deferred script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
  4. Parser-inserted deferred script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
  5. Parser-inserted async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
  6. Parser-inserted async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
  7. Parser-inserted deferred async script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
  8. Parser-inserted deferred async script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
  9. Script injected via `innerHTML` is not allowed with `strict-dynamic`.
  10. Script injected via `insertAdjacentHTML` is not allowed with `strict-dynamic`.
script-src-strict_dynamic_parser_inserted_correct_nonce.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. Parser-inserted script via `document.write` with a correct nonce is allowed with `strict-dynamic`.
  2. Parser-inserted script via `document.writeln` with a correct nonce is allowed with `strict-dynamic`.
  3. Parser-inserted deferred script via `document.write` with a correct nonce is allowed with `strict-dynamic`.
  4. Parser-inserted deferred script via `document.writeln` with a correct nonce is allowed with `strict-dynamic`.
  5. Parser-inserted async script via `document.write` with a correct nonce is allowed with `strict-dynamic`.
  6. Parser-inserted async script via `document.writeln` with a correct nonce is allowed with `strict-dynamic`.
  7. Parser-inserted deferred async script via `document.write` with a correct nonce is allowed with `strict-dynamic`.
  8. Parser-inserted deferred async script via `document.writeln` with a correct nonce is allowed with `strict-dynamic`.
script-src-strict_dynamic_parser_inserted_error_event.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Parser-inserted classic script blocked by `strict-dynamic` fires an error event.
  2. Parser-inserted module script blocked by `strict-dynamic` fires an error event.
script-src-strict_dynamic_parser_inserted_module.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Parser-inserted external module script in markup without a correct nonce is not allowed with `strict-dynamic`.
  2. Parser-inserted external module script via `document.write` without a correct nonce is not allowed with `strict-dynamic`.
  3. Parser-inserted external module script via `document.writeln` without a correct nonce is not allowed with `strict-dynamic`.
script-src-strict_dynamic_parser_inserted_module_empty_hash.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Parser-inserted external module script in markup does not match the empty-string hash with `strict-dynamic`.
script-src-strict_dynamic_worker-importScripts.https.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. `importScripts(...)` is allowed by 'strict-dynamic'
script-src-strict_dynamic_worker.https.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Dedicated worker is allowed via 'strict-dynamic'
  2. Shared worker is allowed via 'strict-dynamic'
  3. Service worker is allowed via 'strict-dynamic'
script-src-trusted_types_eval_DedicatedWorker.html9 / 9 passingChrome 9 / 90 failedClean
Standing
Clean runner status OK
Chrome
Clean 9 / 9 WPT subtests passing runner status OK
9 passing subtests
  1. Script injected via direct `eval` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'` (Dedicated Worker).
  2. Script injected via `setTimeout` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'` (Dedicated Worker).
  3. Script injected via `setInterval` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'` (Dedicated Worker).
  4. Scripts injected via direct `eval` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'` (DedicatedWorker).
  5. Scripts injected via `setTimeout` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'` (DedicatedWorker).
  6. Scripts injected via `setInterval` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'` (DedicatedWorker).
  7. Scripts injected via direct `eval` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only (Dedicated Worker).
  8. Scripts injected via `setTimeout` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only (Dedicated Worker).
  9. Scripts injected via `setInterval` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only (Dedicated Worker).
script-src-trusted_types_eval_multiple_policies_allowed.window.js4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Direct `eval` is allowed when every policy allows it.
  2. Indirect `eval` is allowed when every policy allows it.
  3. `new Function` is allowed when every policy allows it.
  4. `setTimeout` is allowed when every policy allows it.
script-src-trusted_types_eval_multiple_policies_blocked.window.js4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Direct `eval` is blocked by a second policy without `trusted-types-eval`.
  2. Indirect `eval` is blocked by a second policy without `trusted-types-eval`.
  3. `new Function` is blocked by a second policy without `trusted-types-eval`.
  4. `setTimeout` is blocked by a second policy without `trusted-types-eval`.
script-src-trusted_types_eval_multiple_policies_report_only.window.js2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. `eval` is allowed but reported by a report-only policy without `trusted-types-eval`.
  2. `new Function` is allowed but reported by a report-only policy without `trusted-types-eval`.
script-src-trusted_types_eval_report_only_policies.window.js4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Direct `eval` is allowed but reported.
  2. Indirect `eval` is allowed but reported.
  3. `new Function` is allowed but reported.
  4. `setTimeout` is allowed but reported.
script-src-trusted_types_eval_report_only_policies_without_default_policy.window.js4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Direct `eval` is allowed but reported by both checks.
  2. Indirect `eval` is allowed but reported by both checks.
  3. `new Function` is allowed but reported by both checks.
  4. `setTimeout` is allowed but reported by both checks.
script-src-trusted_types_eval_with_report_only_require_trusted_types_eval.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Scripts injected via direct `eval` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only.
  2. Scripts injected via indirect `eval` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only.
  3. Scripts injected via `new Function` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only.
  4. Scripts injected via `setTimeout` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only.
  5. Scripts injected via `setInterval` are not allowed with `trusted-types-eval` when `require-trusted-types-for 'script'` is report only.
script-src-trusted_types_eval_with_require_trusted_types_eval.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Script injected via direct `eval` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'`.
  2. Script injected via indirect `eval` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'`.
  3. Script injected via `new Function` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'`.
  4. Script injected via `setTimeout` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'`.
  5. Script injected via `setInterval` is allowed with `trusted-types-eval` and `require-trusted-types-for 'script'`.
script-src-trusted_types_eval_without_default_policy.window.js6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Direct `eval` of a string is blocked by Trusted Types despite `trusted-types-eval`.
  2. Indirect `eval` of a string is blocked by Trusted Types despite `trusted-types-eval`.
  3. `new Function` with a string is blocked by Trusted Types despite `trusted-types-eval`.
  4. `setTimeout` with a string is blocked by Trusted Types despite `trusted-types-eval`.
  5. `eval` of a TrustedScript is allowed with `trusted-types-eval`.
  6. `setTimeout` with a TrustedScript is allowed with `trusted-types-eval`.
script-src-trusted_types_eval_without_require_trusted_types_eval.html5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Scripts injected via direct `eval` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'`.
  2. Scripts injected via indirect `eval` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'`.
  3. Scripts injected via `new Function` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'`.
  4. Scripts injected via `setTimeout` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'`.
  5. Scripts injected via `setInterval` are not allowed with `trusted-types-eval` without `require-trusted-types-for 'script'`.
script-src-wildcards-disallowed.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. data: URIs should not match *
  2. blob: URIs should not match *
  3. filesystem URIs should not match *
scripthash-allowed.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/4)","PASS (2/4)","PASS (3/4)","PASS (4/4)"]
scripthash-base64url-converts-to-base64.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/2)","PASS (2/2)"]
scripthash-basic-blocked-error-event.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. CSP script-hash block causes error event
scripthash-basic-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/1)"]
scripthash-case-insensitive.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/6)","PASS (2/6)","PASS (3/6)","PASS (4/6)","PASS (5/6)","PASS (6/6)"]
scripthash-changed-1.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. scr1.innerText before modification should not be blocked
scripthash-changed-2.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. scr2.innerText before modification should be blocked
scripthash-default-src.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. script-hash allowed from default-src
scripthash-ignore-unsafeinline.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/1)"]
scripthash-unicode-normalization.sub.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Should fire securitypolicyviolation
  2. Only matching content runs even with NFC normalization.
scriptnonce-allowed.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/2)","PASS (2/2)"]
scriptnonce-and-scripthash.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/3)","PASS (2/3)","PASS (3/3)"]
scriptnonce-basic-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (closely-quoted nonce)","PASS (nonce w/whitespace)", "violated-directive=script-src-elem", "violated-directive=script-src-elem", "violated-directive=script-src-elem"]
scriptnonce-changed-1.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. scr1 nonce before modification should not be blocked
scriptnonce-changed-2.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. scr2 nonce before modification should be blocked
scriptnonce-ignore-unsafeinline.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS (1/2)","PASS (2/2)", "violated-directive=script-src-elem"]
scriptnonce-redirect.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting alerts: ["PASS"]
scriptnonce-specified-source.sub.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. CSP with both source and nonce should allow matching source
  2. CSP with both source and nonce should allow both matching nonce and source
  3. No CSP violation should fire and all scripts should load
srcdoc-doesnt-bypass-script-src.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["violated-directive=script-src-elem"]
worker-data-set-timeout.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Shared worker with data: url inherits CSP
worker-eval-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["eval blocked"]
worker-function-function-blocked.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["Function() function blocked"]
worker-importscripts.sub.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Dedicated worker delivers its own CSP
  2. Shared worker delivers its own CSP
worker-script-src.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Expecting logs: ["PASS"]
worker-set-timeout.sub.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Dedicated worker delivers its own CSP
  2. Shared worker delivers its own CSP

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.