9.13content-security-policy/img-src/
18 / 18 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 13
- Blocking files
- 0
Chrome 18 / 18 WPT subtests passing on the same files, none blocking
Tests
13 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
icon-allowed.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that image loads
icon-blocked.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Test that image does not load
- Test that spv event is fired
img-src-4_1.sub.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- img-src for relative path should load
- img-src from unapproved domains should not load
- img-src from approved domains should load
img-src-full-host-wildcard-blocked.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- img src does not match full host and wildcard csp directive
img-src-host-partial-wildcard-allowed.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- img src matches correctly partial wildcard host csp directive
img-src-none-blocks-css-background-image.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Test that spv event is fired
img-src-none-blocks-data-uri.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- img-src with 'none' source should not match
img-src-none-blocks.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- img-src with 'none' source should not match
img-src-port-wildcard-allowed.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- img-src with wildcard port should match any port
img-src-self-unique-origin.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Image's url must not match with 'self'. Image must be blocked.
img-src-targeting.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Test that image does not load
- Test that spv event is fired
img-src-wildcard-allowed.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- img-src with wildcard should match all
- img-src with wildcard should not match blob
report-blocked-data-uri.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Expecting logs: ["violated-directive=img-src"]