9.18content-security-policy/navigation/
31 / 31 WPT subtests passing
- Failed
- 0
- Timed out
- 0
- Not run
- 0
- Test files
- 8
- Blocking files
- 0
Chrome 31 / 31 WPT subtests passing on the same files, none blocking
Tests
8 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
Test fileSubtests passingChromeFailedStanding
to-javascript-parent-initiated-check-csp-order.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Executing the javascript URL should violate the parent's CSP for iframe.contentWindow.location.href
- Executing the javascript URL should violate the parent's CSP for iframe.src
- Executing the javascript URL should violate the parent's CSP for a[target=iframeWithScriptSrcNone].href
- Executing the javascript URL should violate the parent's CSP for a[target=otherTabWithScriptSrcNone].href
- Executing the javascript URL should violate the parent's CSP for area[target=iframeWithScriptScrcNone].href
- Executing the javascript URL should violate the parent's CSP for area[target=otherTabWithScriptSrcNone].href
- Executing the javascript URL should violate the parent's CSP for otherTabWithScriptSrcNone.location.href
to-javascript-parent-initiated-child-csp.html 9 / 9 passingChrome 9 / 90 failedClean
9 passing subtests
- Should have executed the javascript url for iframe.contentWindow.location.href with child's CSP "script-src 'unsafe-inline'"
- Should have executed the javascript url for iframe.src with child's CSP "script-src 'unsafe-inline'"
- Should have executed the javascript url for a[target=iframeWithScriptSrcUnsafeInline].href with child's CSP "script-src 'unsafe-inline'"
- Should not have executed the javascript URL for iframe.contentWindow.location.href with child's CSP "script-src 'none'"
- Should not have executed the javascript URL for iframe.src with child's CSP "script-src 'none'"
- Should not have executed the javascript URL for otherTabWithScriptSrcNone.location.href with child's CSP "script-src 'none'"
- Should not have executed the javascript URL for a[target=iframeWithScriptSrcNone].href with child's CSP "script-src 'none'"
- Should not have executed the javascript URL for area[target=iframeWithScriptSrcNone].href with child's CSP "script-src 'none'"
- Should not have executed the javascript URL for area[target=otherTabWithScriptSrcNone].href with child's CSP "script-src 'none'"
to-javascript-parent-initiated-parent-csp.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Should not have executed the javascript url for iframe.contentWindow.location.href
- Should not have executed the javascript url for iframe.src
- Should not have executed the javascript url for otherTab.location.href
- Should not have executed the javascript url for area[target=iframe].href
- Should not have executed the javascript url for area[target=otherTab].href
- Should not have executed the javascript url for a[target=otherTab].href
- Should not have executed the javascript url for a[target=iframe].href
to-javascript-url-frame-src.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- <iframe src='javascript:...'> not blocked by 'frame-src'
to-javascript-url-script-src.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- <iframe src='javascript:'> blocked without 'unsafe-inline'.
- <iframe> navigated to 'javascript:' blocked without 'unsafe-inline'.
- <iframe src='...'> with 'unsafe-inline' navigated to 'javascript:' blocked in this document
- <iframe src='...'> without 'unsafe-inline' navigated to 'javascript:' blocked in this document.