9.3content-security-policy/child-src/
14 / 14 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 9
- Blocking files
- 0
Chrome 14 / 14 WPT subtests passing on the same files, none blocking
Tests
9 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
child-src-about-blank-allowed-by-default.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check that frames load without throwing any violation events
child-src-about-blank-allowed-by-scheme.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Check that frames load without throwing any violation events
child-src-allowed.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Expecting logs: ["PASS IFrame #1 generated a load event."]
- Expecting alerts: ["PASS"]
child-src-blocked.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"]
child-src-conflicting-frame-src.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"]
child-src-cross-origin-load.sub.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- Two of the three iframe are expected to load.
- Navigation in iframe allowed by child-src 'self'
- Navigation in iframe allowed by child-src explicit CSP source
- Navigation in iframe not allowed by child-src
child-src-redirect-blocked.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Expecting logs: ["PASS IFrame #1 generated a load event.", "violated-directive=frame-src"]
child-src-worker-allowed.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Worker is allowed because of deprecated 'child-src' directive
child-src-worker-blocked.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Should throw a securitypolicyviolation event
- Should block worker because it does not match any directive including the deprecated 'child-src'