9.12content-security-policy/generic/

101 / 101 WPT subtests passing

Failed
0
Timed out
0
Not run
0
Test files
26
Blocking files
0

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

Tests

26 test files here

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

Test fileSubtests passingChromeFailedStanding
304-response-should-update-csp.sub.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. Test that the first frame uses nonce abc
  2. Test that the first frame does not use nonce def
  3. Test that the second frame uses nonce def
  4. Test that the second frame does not use nonce abc
case-insensitive-scheme.sub.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. Lowercase `http` should allow the image to load. - meta tag
  2. Lowercase `http` should allow the image to load. - HTTP header
  3. Mixed-case `http` should allow the image to load. - meta tag
  4. Mixed-case `http` should allow the image to load. - HTTP header
  5. Uppercase `http` should allow the image to load. - meta tag
  6. Uppercase `http` should allow the image to load. - HTTP header
cspro-not-enforced-in-worker.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. Check that inline is allowed since the inherited policy is report only
  2. Check that eval is allowed since the inherited policy is report only
directive-name-case-insensitive.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. Test that the www1 image is allowed to load
  2. Test that the www2 image is not allowed to load
  3. Test that the www2 image throws a violation event
duplicate-directive.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)"]
eval-typecheck-callout-order.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 of a string should be checked by CSP
  2. eval of a non-string should not be checked by CSP
generic-0_1-img-src.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. Verify cascading of default-src to img-src policy
  2. Should fire violation events for every failed violation
generic-0_1-script-src.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. Verify cascading of default-src to script-src policy: block
  2. Verify cascading of default-src to script-src policy: allow
  3. Should fire violation events for every failed violation
generic-0_10.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. Test that script does not fire violation event
generic-0_10_1.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. Prevents access to external scripts.
  2. Should fire violation events for every failed violation
generic-0_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. Should fire violation events for every failed violation
  2. Allows scripts from the same host.
generic-0_2_2.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. Prevents access to external scripts.
  2. Should fire violation events for every failed violation
generic-0_2_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. Prevents access to external scripts.
  2. Should fire violation events for every failed violation
generic-0_8.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. Test that script does not fire violation event
  2. Wildcard host matching works.
generic-0_8_1.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. Wildcard host matching works.
generic-0_9.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. Test that script does not fire violation event
  2. Wildcard port matching works.
image-document-applies-csp.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. Image document correctly applies CSP to other subresources.
invalid-characters-in-policy.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. Should load image without any CSP - meta tag
  2. Should load image without any CSP - HTTP header
  3. Should not load image with 'none' CSP - meta tag
  4. Should not load image with 'none' CSP - HTTP header
  5. Non-ASCII character in directive value should drop the whole directive. - meta tag
  6. Non-ASCII character in directive value should drop the whole directive. - HTTP header
  7. Non-ASCII quote character in directive value should drop the whole directive. - meta tag
  8. Non-ASCII quote character in directive value should drop the whole directive. - HTTP header
  9. Non-ASCII character in directive value should not affect other directives. - meta tag
  10. Non-ASCII character in directive value should not affect other directives. - HTTP header
  11. Non-ASCII character in directive name should not affect other directives. - meta tag
  12. Non-ASCII character in directive name should not affect other directives. - HTTP header
no-default-src.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. Allows scripts from the same host.
  2. Violation report status OK.
only-valid-whitespaces-are-allowed.html28 / 28 passingChrome 28 / 280 failedClean
Standing
Clean runner status OK
Chrome
Clean 28 / 28 WPT subtests passing runner status OK
28 passing subtests
  1. Should load image without any CSP - meta tag
  2. Should load image without any CSP - HTTP header
  3. Should not load image with 'none' CSP - meta tag
  4. Should not load image with 'none' CSP - HTTP header
  5. U+0009 TAB should be properly parsed between directive name and value - meta tag
  6. U+0009 TAB should be properly parsed between directive name and value - HTTP header
  7. U+000C FF should be properly parsed between directive name and value - meta tag
  8. U+000C FF should be properly parsed between directive name and value - HTTP header
  9. U+000A LF should be properly parsed between directive name and value - meta tag
  10. U+000D CR should be properly parsed between directive name and value - meta tag
  11. U+0020 SPACE should be properly parsed between directive name and value - meta tag
  12. U+0020 SPACE should be properly parsed between directive name and value - HTTP header
  13. U+0009 TAB should be properly parsed inside directive value - meta tag
  14. U+0009 TAB should be properly parsed inside directive value - HTTP header
  15. U+000C FF should be properly parsed inside directive value - meta tag
  16. U+000C FF should be properly parsed inside directive value - HTTP header
  17. U+000A LF should be properly parsed inside directive value - meta tag
  18. U+000D CR should be properly parsed inside directive value - meta tag
  19. U+0020 SPACE should be properly parsed inside directive value - meta tag
  20. U+0020 SPACE should be properly parsed inside directive value - HTTP header
  21. U+00A0 NBSP should not be parsed between directive name and value - meta tag
  22. U+00A0 NBSP should not be parsed between directive name and value - HTTP header
  23. U+00A0 NBSP should not be parsed inside directive value - meta tag
  24. U+00A0 NBSP should not be parsed inside directive value - HTTP header
  25. U+000B VT should not be parsed between directive name and value - meta tag
  26. U+000B VT should not be parsed between directive name and value - HTTP header
  27. U+000B VT should not be parsed inside directive value - meta tag
  28. U+000B VT should not be parsed inside directive value - HTTP header
policy-does-not-affect-child.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"]
policy-inherited-correctly-by-plznavigate.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. iframe still inherits correct CSP
  2. Violation report status OK.
source-list-wildcard-host-and-port.https.sub.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. "*:*" with a path allows the path on the document's own origin
  2. "*:*" with a path allows the path on a different port
  3. "*:*" with a path allows the path on a different host
  4. "*:*" with a path does not allow other paths
src-trailing-dot.sub.any.js4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK

/content-security-policy/generic/src-trailing-dot.sub.any.html OK 1 / 1

1 passing subtest
  1. Fetch from host with trailing dot should be allowed by CSP.

/content-security-policy/generic/src-trailing-dot.sub.any.serviceworker.html OK 1 / 1

1 passing subtest
  1. Fetch from host with trailing dot should be allowed by CSP.

/content-security-policy/generic/src-trailing-dot.sub.any.sharedworker.html OK 1 / 1

1 passing subtest
  1. Fetch from host with trailing dot should be allowed by CSP.

/content-security-policy/generic/src-trailing-dot.sub.any.worker.html OK 1 / 1

1 passing subtest
  1. Fetch from host with trailing dot should be allowed by CSP.
wildcard-host-part-002.sub.window.js5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Host wildcard allows arbitrary hosts (default host).
  2. Host wildcard allows arbitrary hosts (www1).
  3. Host wildcard allows arbitrary hosts (www2).
  4. Host wildcard doesn't affect port matching (port 8001).
  5. Host wildcard doesn't affect path matching.
wildcard-host-part.sub.window.js5 / 5 passingChrome 5 / 50 failedClean
Standing
Clean runner status OK
Chrome
Clean 5 / 5 WPT subtests passing runner status OK
5 passing subtests
  1. Host wildcard doesn't affect scheme matching.
  2. Host wildcard allows arbitrary hosts (default host).
  3. Host wildcard allows arbitrary hosts (www1).
  4. Host wildcard allows arbitrary hosts (www2).
  5. Host wildcard doesn't affect port matching (port 8001).

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.