9.21content-security-policy/parsing/
25 / 25 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 3
- Blocking files
- 0
Chrome 25 / 25 WPT subtests passing on the same files, none blocking
Tests
3 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
invalid-bytes.html 18 / 18 passingChrome 18 / 180 failedClean
18 passing subtests
- CSP: "img-src 'none'\x01" should allow rendering (Invalid directive ignored).
- CSP: "img-src 'none' http:\x01" should allow rendering (Invalid directive ignored).
- CSP: "img-src 'self'\x01" should allow rendering (Invalid directive ignored).
- CSP: "img-src 'none'; media-src 'self'\x01" should block rendering.
- CSP: "img-src 'self'; media-src 'self'\x01" should allow rendering.
- CSP: "img-src 'self', img-src 'self'\x01" should allow rendering.
- CSP: "img-src 'none', img-src 'self'\x01" should block rendering.
- CSP: "img-src 'self', img-src\x01" should allow rendering.
- CSP: "img-src 'none', img-src\x01" should block rendering.
- CSP: "img-src 'none'\x7f" should allow rendering (Invalid directive ignored).
- CSP: "img-src 'none' http:\x7f" should allow rendering (Invalid directive ignored).
- CSP: "img-src 'self'\x7f" should allow rendering (Invalid directive ignored).
- CSP: "img-src 'none'; media-src 'self'\x7f" should block rendering.
- CSP: "img-src 'self'; media-src 'self'\x7f" should allow rendering.
- CSP: "img-src 'self', img-src 'self'\x7f" should allow rendering.
- CSP: "img-src 'none', img-src 'self'\x7f" should block rendering.
- CSP: "img-src 'self', img-src\x7f" should allow rendering.
- CSP: "img-src 'none', img-src\x7f" should block rendering.
invalid-directive.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Even if an unknown directive is specified, img-src is honored.
keyword-source-with-trailing-characters.html 6 / 6 passingChrome 6 / 60 failedClean
6 passing subtests
- script-src 'unsafe-inline'X ignores the invalid token, so inline script is blocked.
- script-src 'self''unsafe-inline' ignores the invalid token, so inline script is blocked.
- script-src 'unsafe-inline' 'unsafe-eval'X ignores the invalid token, so eval() is blocked.
- script-src 'self'/foo/ ignores the invalid token, so a same-origin script is blocked.
- script-src 'nonce-abc' 'strict-dynamic'X ignores the invalid token, so a dynamically inserted script is blocked.
- style-src 'strict-dynamic''unsafe-inline' ignores the invalid token, so inline style is blocked.