9.5content-security-policy/default-src/
15 / 15 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 4
- Blocking files
- 0
Chrome 15 / 15 WPT subtests passing on the same files, none blocking
Tests
4 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
default-src-inline-allowed.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Expecting alerts: ["PASS 1 of 2","PASS 2 of 2"]
default-src-inline-blocked.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Expecting logs: ["violated-directive=script-src-elem","violated-directive=script-src-elem"]
default-src-sri_hash.sub.html 12 / 12 passingChrome 12 / 120 failedClean
12 passing subtests
- Load all the tests.
- matching integrity
- matching integrity (case-insensitive algorithm)
- multiple matching integrity
- no integrity
- matching plus unsupported integrity
- mismatched integrity
- multiple mismatched integrity
- partially matching integrity
- crossorigin no integrity but allowed host
- crossorigin mismatched integrity but allowed host
- External script in a script tag with matching SRI hash should run.
default-src-strict_dynamic_and_unsafe_inline.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Should fire a security policy violation for the inline block