9.6content-security-policy/embedded-enforcement/

304 / 304 WPT subtests passing

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

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

Tests

22 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
allow_csp_from-header.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. Same origin iframes with correct Allow-CSP-From header are allowed.
  2. Same origin iframes with an empty Allow-CSP-From header get blocked.
  3. Same origin iframes without Allow-CSP-From header gets blocked.
  4. Same origin iframes are blocked if Allow-CSP-From does not match origin.
  5. Cross origin iframe with an empty Allow-CSP-From header gets blocked.
  6. Cross origin iframe without Allow-CSP-From header gets blocked.
  7. Cross origin iframe with correct Allow-CSP-From header is allowed.
  8. Iframe with improper Allow-CSP-From header gets blocked.
  9. Allow-CSP-From header with a star value allows cross origin frame.
  10. Star Allow-CSP-From header enforces EmbeddingCSP.
  11. Allow-CSP-From header enforces EmbeddingCSP.
  12. 'self' in blanket enforced EmbeddingCSP matches the target response origin.
blocked-iframe-are-cross-origin.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. Document blocked by embedded enforcement and its parent are cross-origin
  2. Two same-origin iframes must appear as cross-origin when one is blocked
change-csp-attribute-and-history-navigation.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 csp attribute changed before history navigation of local scheme.
  2. Iframe csp attribute changed before history navigation of network scheme.
idlharness.window.js15 / 15 passingChrome 15 / 150 failedClean
Standing
Clean runner status OK
Chrome
Clean 15 / 15 WPT subtests passing runner status OK
15 passing subtests
  1. idl_test setup
  2. idl_test validation
  3. Partial interface HTMLIFrameElement: original interface defined
  4. Partial interface HTMLIFrameElement: member names are unique
  5. Partial interface Element: member names are unique
  6. Partial interface HTMLIFrameElement[2]: member names are unique
  7. HTMLElement includes GlobalEventHandlers: member names are unique
  8. HTMLElement includes ElementContentEditable: member names are unique
  9. HTMLElement includes HTMLOrSVGOrMathMLElement: member names are unique
  10. Element includes ParentNode: member names are unique
  11. Element includes NonDocumentTypeChildNode: member names are unique
  12. Element includes ChildNode: member names are unique
  13. Element includes Slottable: member names are unique
  14. HTMLIFrameElement interface: attribute csp
  15. HTMLIFrameElement interface: document.createElement("iframe") must inherit property "csp" with the proper type
iframe-csp-attribute.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. <iframe> has a 'csp' attibute which is an empty string if undefined.
  2. <iframe>'s csp attribute is always a string.
  3. <iframe>'s 'csp content attribute reflects the IDL attribute.
  4. <iframe>'s IDL attribute reflects the DOM attribute.
required-csp-header-cascade.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. Test same origin: Test same policy for both iframes
  2. Test same origin: Test more restrictive policy on second iframe
  3. Test same origin: Test less restrictive policy on second iframe
  4. Test same origin: Test no policy on second iframe
  5. Test same origin: Test no policy on first iframe
  6. Test same origin: Test invalid policy on first iframe (bad directive name)
  7. Test same origin: Test invalid policy on first iframe (report directive)
  8. Test same origin: Test invalid policy on second iframe (bad directive name)
  9. Test same origin: Test invalid policy on second iframe (report directive)
required_csp-header-crlf.html18 / 18 passingChrome 18 / 180 failedClean
Standing
Clean runner status OK
Chrome
Clean 18 / 18 WPT subtests passing runner status OK
18 passing subtests
  1. Test CRLF: \r\n character after directive name
  2. Test CRLF: \r\n character in directive value
  3. Test CRLF: \n character after directive name
  4. Test CRLF: \n character in directive value
  5. Test CRLF: \r character after directive name
  6. Test CRLF: \r character in directive value
  7. Test CRLF: Attempt injecting after directive name using \r\n
  8. Test CRLF: Attempt injecting after directive name using \r
  9. Test CRLF: Attempt injecting after directive name using \n
  10. Test CRLF: Attempt injecting after directive value using \r\n
  11. Test CRLF: Attempt injecting after directive value using \r
  12. Test CRLF: Attempt injecting after directive value using \n
  13. Test CRLF: Attempt injecting after semicolon using \r\n
  14. Test CRLF: Attempt injecting after semicolon using \r
  15. Test CRLF: Attempt injecting after semicolon using \n
  16. Test CRLF: Attempt injecting after space between name and value using \r\n
  17. Test CRLF: Attempt injecting after space between name and value using \r
  18. Test CRLF: Attempt injecting after space between name and value using \n
required_csp-header.html75 / 75 passingChrome 75 / 750 failedClean
Standing
Clean runner status OK
Chrome
Clean 75 / 75 WPT subtests passing runner status OK
75 passing subtests
  1. Test same origin: Sec-Required-CSP is not sent if `csp` attribute is not set on <iframe>.
  2. Test same origin redirect: Sec-Required-CSP is not sent if `csp` attribute is not set on <iframe>.
  3. Test cross origin redirect: Sec-Required-CSP is not sent if `csp` attribute is not set on <iframe>.
  4. Test cross origin redirect of cross origin iframe: Sec-Required-CSP is not sent if `csp` attribute is not set on <iframe>.
  5. Test Required-CSP value on `csp` change: Sec-Required-CSP is not sent if `csp` attribute is not set on <iframe>.
  6. Test same origin: Send Sec-Required-CSP when `csp` attribute of <iframe> is not empty.
  7. Test same origin redirect: Send Sec-Required-CSP when `csp` attribute of <iframe> is not empty.
  8. Test cross origin redirect: Send Sec-Required-CSP when `csp` attribute of <iframe> is not empty.
  9. Test cross origin redirect of cross origin iframe: Send Sec-Required-CSP when `csp` attribute of <iframe> is not empty.
  10. Test Required-CSP value on `csp` change: Send Sec-Required-CSP when `csp` attribute of <iframe> is not empty.
  11. Test same origin: Send Sec-Required-CSP Header on change of `src` attribute on iframe.
  12. Test same origin redirect: Send Sec-Required-CSP Header on change of `src` attribute on iframe.
  13. Test cross origin redirect: Send Sec-Required-CSP Header on change of `src` attribute on iframe.
  14. Test cross origin redirect of cross origin iframe: Send Sec-Required-CSP Header on change of `src` attribute on iframe.
  15. Test Required-CSP value on `csp` change: Send Sec-Required-CSP Header on change of `src` attribute on iframe.
  16. Test same origin: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - gibberish csp
  17. Test same origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - gibberish csp
  18. Test cross origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - gibberish csp
  19. Test cross origin redirect of cross origin iframe: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - gibberish csp
  20. Test Required-CSP value on `csp` change: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - gibberish csp
  21. Test same origin: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name
  22. Test same origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name
  23. Test cross origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name
  24. Test cross origin redirect of cross origin iframe: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name
  25. Test Required-CSP value on `csp` change: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name
  26. Test same origin: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name in multiple directives
  27. Test same origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name in multiple directives
  28. Test cross origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name in multiple directives
  29. Test cross origin redirect of cross origin iframe: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name in multiple directives
  30. Test Required-CSP value on `csp` change: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - unknown policy name in multiple directives
  31. Test same origin: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - misspeled 'none'
  32. Test same origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - misspeled 'none'
  33. Test cross origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - misspeled 'none'
  34. Test cross origin redirect of cross origin iframe: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - misspeled 'none'
  35. Test Required-CSP value on `csp` change: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - misspeled 'none'
  36. Test same origin: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - query values in path
  37. Test same origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - query values in path
  38. Test cross origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - query values in path
  39. Test cross origin redirect of cross origin iframe: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - query values in path
  40. Test Required-CSP value on `csp` change: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - query values in path
  41. Test same origin: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - missing semicolon
  42. Test same origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - missing semicolon
  43. Test cross origin redirect: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - missing semicolon
  44. Test cross origin redirect of cross origin iframe: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - missing semicolon
  45. Test Required-CSP value on `csp` change: Wrong but allowed value of `csp` should still trigger sending Sec-Required-CSP Header - missing semicolon
  46. Test same origin: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - comma separated
  47. Test same origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - comma separated
  48. Test cross origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - comma separated
  49. Test cross origin redirect of cross origin iframe: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - comma separated
  50. Test Required-CSP value on `csp` change: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - comma separated
  51. Test same origin: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid characters in directive names
  52. Test same origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid characters in directive names
  53. Test cross origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid characters in directive names
  54. Test cross origin redirect of cross origin iframe: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid characters in directive names
  55. Test Required-CSP value on `csp` change: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid characters in directive names
  56. Test same origin: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid character in directive name
  57. Test same origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid character in directive name
  58. Test cross origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid character in directive name
  59. Test cross origin redirect of cross origin iframe: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid character in directive name
  60. Test Required-CSP value on `csp` change: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - invalid character in directive name
  61. Test same origin: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-uri present
  62. Test same origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-uri present
  63. Test cross origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-uri present
  64. Test cross origin redirect of cross origin iframe: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-uri present
  65. Test Required-CSP value on `csp` change: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-uri present
  66. Test same origin: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-to present
  67. Test same origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-to present
  68. Test cross origin redirect: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-to present
  69. Test cross origin redirect of cross origin iframe: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-to present
  70. Test Required-CSP value on `csp` change: Wrong and dangerous value of `csp` should not trigger sending Sec-Required-CSP Header - report-to present
  71. Test same origin: Sec-Required-CSP is not sent if `csp` attribute is longer than 4096 bytes
  72. Test same origin redirect: Sec-Required-CSP is not sent if `csp` attribute is longer than 4096 bytes
  73. Test cross origin redirect: Sec-Required-CSP is not sent if `csp` attribute is longer than 4096 bytes
  74. Test cross origin redirect of cross origin iframe: Sec-Required-CSP is not sent if `csp` attribute is longer than 4096 bytes
  75. Test Required-CSP value on `csp` change: Sec-Required-CSP is not sent if `csp` attribute is longer than 4096 bytes
subsumption_algorithm-general.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK
16 passing subtests
  1. If there is no required csp, iframe should load.
  2. Iframe with empty returned CSP should be blocked.
  3. Iframe with matching CSP should load.
  4. Iframe with more restricting CSP should load.
  5. Iframe with less restricting CSP should be blocked.
  6. Iframe with a different CSP should be blocked.
  7. Iframe with a matching and more restrictive ports should load.
  8. Host wildcard *.a.com does not match a.com
  9. Host intersection with wildcards is computed correctly.
  10. Iframe should load even if the ports are different but are default for the protocols.
  11. Iframe should block if intersection allows sources which are not in required_csp.
  12. Iframe should block if intersection allows sources which are not in required_csp (other ordering).
  13. Iframe should load if intersection allows only sources which are in required_csp.
  14. Removed plugin-types directive should be ignored.
  15. Removed plugin-types directive should be ignored 2.
  16. Removed plugin-types directive should be ignored 3.
subsumption_algorithm-hashes.html13 / 13 passingChrome 13 / 130 failedClean
Standing
Clean runner status OK
Chrome
Clean 13 / 13 WPT subtests passing runner status OK
13 passing subtests
  1. 'sha256-abc123' is properly subsumed.
  2. Returned should not include hashes not present in required csp.
  3. 'sha256-abc123' is properly subsumed with other sources.
  4. Hashes do not have to be present in returned csp.
  5. Hashes do not have to be present in returned csp but must not allow all inline behavior.
  6. Other expressions have to be subsumed.
  7. Other expressions have to be subsumed but 'unsafe-inline' gets ignored.
  8. Effective policy is properly found.
  9. Required csp must allow 'sha256-abc123'.
  10. Effective policy is properly found where 'sha256-abc123' is not subsumed.
  11. 'sha256-abc123' is not subsumed by 'sha256-abc456'.
  12. Effective policy now does not allow 'sha256-abc123'.
  13. Effective policy is properly found where 'sha256-abc123' is not part of it.
subsumption_algorithm-host_sources-hosts.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. Host must match.
  2. Hosts without wildcards must match.
  3. More specific subdomain should not match.
  4. Specified host should not match a wildcard host.
  5. A wildcard host should match a more specific host.
subsumption_algorithm-host_sources-paths.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. Returned CSP must specify a path.
  2. Returned CSP has a more specific path.
  3. Matching paths.
  4. Empty path is not subsumed by specified paths.
  5. All specific paths match except the order.
  6. Returned CSP allows only one path.
  7. `/` path should be subsumed by an empty path.
  8. Unspecified path should be subsumed by `/`.
  9. That should not be true when required csp specifies a specific page.
subsumption_algorithm-host_sources-ports.html15 / 15 passingChrome 15 / 150 failedClean
Standing
Clean runner status OK
Chrome
Clean 15 / 15 WPT subtests passing runner status OK
15 passing subtests
  1. Specified ports must match.
  2. Returned CSP should be subsumed even if the port is not specified but is a default port for a scheme.
  3. Returned CSP should be subsumed even if the port is not specified but is a default port for a more secure scheme.
  4. The same should hold for `ws` case.
  5. Unspecified ports must match if schemes match.
  6. Returned CSP should be subsumed if the port is specified.
  7. Returned CSP should be subsumed if the port is specified but the scheme is more secure.
  8. Returned CSP should be subsumed if the port is specified but is not default for a more secure scheme.
  9. Returned CSP should be subsumed if the ports match but schemes are not identical.
  10. Returned CSP should be subsumed if the ports match but schemes are not identical for `ws`.
  11. Wildcard port should match unspecified port.
  12. Wildcard port should match any specific port.
  13. Wildcard port should match a wildcard.
  14. Wildcard port should not be subsumed by a default port.
  15. Wildcard port should not be subsumed by a spcified port.
subsumption_algorithm-host_sources-protocols.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. `https` is more restrictive than `http`.
  2. The reverse allows iframe be to be loaded.
  3. Matching `https` protocols.
  4. `http:` should subsume all host source expressions with this protocol.
  5. `http:` should subsume all host source expressions with `https:`.
  6. `http:` does not subsume other protocols.
  7. If scheme source is present in returned csp, it must be specified in required csp too.
  8. `http:` subsumes other `http:` source expression.
  9. `http:` subsumes other `https:` source expression and expressions with `http:`.
  10. All scheme sources must be subsumed.
  11. All scheme sources are subsumed by their stronger variants.
subsumption_algorithm-nonces.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. Exact nonce subsumes.
  2. Any nonce subsumes.
  3. A nonce has to be returned if required by the embedder.
  4. Multiples nonces returned subsume.
  5. Nonce intersection is still done on exact match - non-matching nonces.
  6. Nonce intersection is still done on exact match - matching nonces.
  7. Other expressions still have to be subsumed - positive test.
  8. Other expressions still have to be subsumed - negative test
subsumption_algorithm-none.html18 / 18 passingChrome 18 / 180 failedClean
Standing
Clean runner status OK
Chrome
Clean 18 / 18 WPT subtests passing runner status OK
18 passing subtests
  1. Empty required csp subsumes empty list of returned policies.
  2. Empty required csp subsumes any list of policies.
  3. Empty required csp subsumes a policy with `none`.
  4. Required policy that allows `none` does not subsume empty list of policies.
  5. Required csp with effective `none` does not subsume a host source expression.
  6. Required csp with `none` does not subsume a host source expression.
  7. Required csp with effective `none` does not subsume `none` of another directive.
  8. Required csp with `none` does not subsume `none` of another directive.
  9. Required csp with `none` does not subsume `none` of different directives.
  10. Required csp with `none` subsumes effective list of `none`.
  11. Required csp with `none` subsumes effective list of `none` despite other keywords.
  12. Source list with exprssions other than `none` make `none` ineffective.
  13. Returned csp with `none` is subsumed by any required csp.
  14. Returned csp with effective `none` is subsumed by any required csp.
  15. Both required and returned csp are `none`.
  16. Both required and returned csp are `none` for only one directive.
  17. Both required and returned csp are empty.
  18. Both required and returned csp are effectively 'none'.
subsumption_algorithm-self.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. 'self' keywords should match.
  2. Returned CSP does not have to specify 'self'.
  3. Returned CSP must not allow 'self' if required CSP does not.
  4. Returned 'self' should match to an origin's url.
  5. Required 'self' should match to a origin's url.
  6. Required 'self' should subsume a more secure version of origin's url.
  7. Returned 'self' should not be subsumed by a more secure version of origin's url.
subsumption_algorithm-source_list-wildcards.html24 / 24 passingChrome 24 / 240 failedClean
Standing
Clean runner status OK
Chrome
Clean 24 / 24 WPT subtests passing runner status OK
24 passing subtests
  1. Wildcard list subsumes an empty source list.
  2. Wildcard list subsumes a source list with `none`.
  3. Wildcard list subsumes another wildcard list.
  4. Wildcard list subsumes a list of policies with wildcards in source lists.
  5. Wildcard list is equivalent to a specific list of scheme expressions and their secure variants.
  6. Wildcard list is equivalent to a specific list of scheme expressions.
  7. Wildcard list subsumption logic should not affect other keyword expressions.
  8. Wildcard list might include other scheme source expressions.
  9. Effective wildcard list should be properly found.
  10. Wildcard does not subsume empty list.
  11. Empty source list does not subsume a wildcard source list.
  12. 'none' does not subsume a wildcard source list.
  13. Wildcard source list does not subsume `data:` scheme source expression.
  14. Wildcard source list does not subsume `blob:` scheme source expression.
  15. Source expressions do not subsume effective nonce expressions.
  16. Wildcard source list is not subsumed by a host expression.
  17. Wildcard list with keywords is not subsumed by a wildcard list.
  18. Wildcard list with 'unsafe-hashes' is not subsumed by a wildcard list.
  19. Wildcard list with 'unsafe-inline' is not subsumed by a wildcard list.
  20. Wildcard list with 'unsafe-eval' is not subsumed by a wildcard list.
  21. Wildcard list with 'unsafe-eval' is not subsumed by list with a single expression.
  22. The same as above but for 'unsafe-inline'.
  23. `data:` is not subsumed by a wildcard list.
  24. `blob:` is not subsumed by a wildcard list.
subsumption_algorithm-strict_dynamic.html11 / 11 passingChrome 11 / 110 failedClean
Standing
Clean runner status OK
Chrome
Clean 11 / 11 WPT subtests passing runner status OK
11 passing subtests
  1. 'strict-dynamic' is ineffective for `style-src`.
  2. 'strict-dynamic' is ineffective for `img-src`.
  3. 'strict-dynamic' is ineffective for `frame-src`.
  4. 'strict-dynamic' is ineffective for `child-src`.
  5. 'strict-dynamic' is effective only for `script-src`.
  6. 'strict-dynamic' is properly handled for finding effective policy.
  7. 'strict-dynamic' makes host source expressions ineffective.
  8. 'strict-dynamic' makes scheme source expressions ineffective.
  9. 'strict-dynamic' makes 'self' ineffective.
  10. 'strict-dynamic' makes 'unsafe-inline' ineffective.
  11. 'strict-dynamic' has to be allowed by required csp if it is present in returned csp.
subsumption_algorithm-unsafe_eval.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. 'unsafe-eval' is properly subsumed.
  2. No other keyword has the same effect as 'unsafe-eval'.
  3. Other expressions have to be subsumed.
  4. Effective policy is properly found.
  5. Required csp must allow 'unsafe-eval'.
  6. Effective policy is properly found where 'unsafe-eval' is not subsumed.
  7. Effective policy is properly found where 'unsafe-eval' is not part of it.
subsumption_algorithm-unsafe_hashes.html7 / 7 passingChrome 7 / 70 failedClean
Standing
Clean runner status OK
Chrome
Clean 7 / 7 WPT subtests passing runner status OK
7 passing subtests
  1. 'unsafe-hashes' is properly subsumed.
  2. No other keyword has the same effect as 'unsafe-hashes'.
  3. Other expressions have to be subsumed.
  4. Effective policy is properly found.
  5. Required csp must allow 'unsafe-hashes'.
  6. Effective policy is properly found where 'unsafe-hashes' is not subsumed.
  7. Effective policy is properly found where 'unsafe-hashes' is not part of it.
subsumption_algorithm-unsafe_inline.html16 / 16 passingChrome 16 / 160 failedClean
Standing
Clean runner status OK
Chrome
Clean 16 / 16 WPT subtests passing runner status OK

/content-security-policy/embedded-enforcement/subsumption_algorithm-unsafe_inline.html?1-8 OK 8 / 8

8 passing subtests
  1. 'strict-dynamic' is ineffective for `style-src`.
  2. 'unsafe-inline' is properly subsumed in `style-src`.
  3. 'unsafe-inline' is only ineffective if the effective returned csp has nonces in `style-src`.
  4. 'unsafe-inline' is only ineffective if the effective returned csp has hashes in `style-src`.
  5. Returned csp does not have to allow 'unsafe-inline' in `style-src` to be subsumed.
  6. 'unsafe-inline' does not matter if returned csp is effectively `none`.
  7. 'unsafe-inline' is properly subsumed in `script-src`.
  8. Returned csp only loads 'unsafe-inline' scripts with 'nonce-abc'.

/content-security-policy/embedded-enforcement/subsumption_algorithm-unsafe_inline.html?9-last OK 8 / 8

8 passing subtests
  1. 'unsafe-inline' is ineffective when nonces are present.
  2. 'unsafe-inline' is only ineffective if the effective returned csp has hashes in `script-src`.
  3. Required csp allows `strict-dynamic`, but retuned csp does.
  4. Required csp does not allow `unsafe-inline`, but retuned csp does.
  5. Returned csp allows a nonce.
  6. Returned csp allows a hash.
  7. Effective returned csp allows 'unsafe-inline'
  8. Effective returned csp does not allow 'sha512-321cba' hash.

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.