9.14content-security-policy/inheritance/

80 / 83 WPT subtests passing

Failed
3
Timed out
0
Not run
0
Test files
25
Blocking files
0

Chrome 78 / 83 WPT subtests passing on the same files, 2 blocking

Tests

25 test files here

Each test file opens in place to its subtests, and each subtest that did not pass to its message.

Test fileSubtests passingChromeFailedStanding
about-blank-from-javascript-url-inherits-csp-from-initiator.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. about:blank inherits initiator's CSP; cross-origin policy container does not leak.
auxiliary-blank-document.html3 / 3 passingChrome 2 / 30 failedClean
Standing
Clean runner status OK
Chrome
TIMEOUT 2 / 3 WPT subtests passing runner status TIMEOUT
3 passing subtests
  1. window.open() inherits CSPs on initial about:blank.
  2. For transient doc, violation event occurs in auxiliary, not opener window.
  3. window.open() inherits CSPs on transient about:blank.
blob-inherits-from-meta-http-equiv-with-invalid-characters.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. blob: URL inherits CSP from a meta tag whose contents have newline characters.
blob-url-in-child-frame-self-navigate-inherits.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Violation report status OK.
blob-url-in-main-window-self-navigate-inherits.sub.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Violation report status OK.
blob-url-inherits-from-initiator.sub.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Initiator is same-origin with target frame.
  2. Initiator is cross-origin with target frame.
document-write-iframe.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. document.open() keeps inherited CSPs on initial about:blank.
  2. document.open() does not change delivered CSPs.
  3. document.open() keeps inherited CSPs on transient about:blank.
frame-src-javascript-url.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. <iframe src='javascript:...'>'s inherits policy (dynamically inserted <iframe> is blocked)
history-iframe.sub.html8 / 8 passingChrome 8 / 80 failedClean
Standing
Clean runner status OK
Chrome
Clean 8 / 8 WPT subtests passing runner status OK
8 passing subtests
  1. History navigation in iframe: "about:blank" document is navigated back from history same-origin.
  2. History navigation in iframe: "about:blank" document is navigated back from history cross-origin.
  3. History navigation in iframe: blob URL document is navigated back from history same-origin.
  4. History navigation in iframe: blob URL document is navigated back from history cross-origin.
  5. History navigation in iframe: data URL document is navigated back from history same-origin.
  6. History navigation in iframe: data URL document is navigated back from history cross-origin.
  7. History navigation in iframe: srcdoc iframe is navigated back from history same-origin.
  8. History navigation in iframe: srcdoc iframe is navigated back from history cross-origin.
history.sub.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. History navigation: "about:blank" document is navigated back from history same-origin.
  2. History navigation: "about:blank" document is navigated back from history cross-origin.
  3. History navigation: blob URL document is navigated back from history same-origin.
  4. History navigation: blob URL document is navigated back from history cross-origin.
  5. History navigation: blob URL document is navigated back from history (without bfcache on Firefox) same-origin.
  6. History navigation: blob URL document is navigated back from history (without bfcache on Firefox) cross-origin.
iframe-all-local-schemes-inherit-self.sub.html6 / 6 passingChrome 6 / 60 failedClean
Standing
Clean runner status OK
Chrome
Clean 6 / 6 WPT subtests passing runner status OK
6 passing subtests
  1. <iframe>'s about:blank inherits policy.
  2. <iframe srcdoc>'s inherits policy.
  3. <iframe src='blob:...'>'s inherits policy.
  4. <iframe src='data:...'>'s inherits policy.
  5. <iframe src='javascript:...'>'s inherits policy.
  6. <iframe sandbox src='blob:...'>'s inherits policy. (opaque origin sandbox)
iframe-all-local-schemes.sub.html10 / 10 passingChrome 10 / 100 failedClean
Standing
Clean runner status OK
Chrome
Clean 10 / 10 WPT subtests passing runner status OK
10 passing subtests
  1. <iframe>'s about:blank inherits policy.
  2. window about:blank inherits policy.
  3. <iframe srcdoc>'s inherits policy.
  4. <iframe src='blob:...'>'s inherits policy.
  5. window url='blob:...' inherits policy.
  6. <iframe src='data:...'>'s inherits policy.
  7. <iframe src='javascript:...'>'s inherits policy (static <img> is blocked)
  8. window url='javascript:...'>'s inherits policy (static <img> is blocked)
  9. <iframe src='javascript:...'>'s inherits policy (dynamically inserted <img> is blocked)
  10. <iframe sandbox src='blob:...'>'s inherits policy. (opaque origin sandbox)
iframe-srcdoc-history-inheritance.html1 / 1 passingChrome 0 / 10 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. iframe-srcdoc-history-inheritance
iframe-srcdoc-inheritance.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. First image should be blocked
  2. Second image should be blocked
inheritance-from-initiator.sub.html16 / 19 passingChrome 16 / 193 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 16 / 19 WPT subtests passing runner status OK

/content-security-policy/inheritance/inheritance-from-initiator.sub.html?scheme=blob OK 2 / 5

  1. FAILblob: Changing contentWindow.location inherits from who changed it (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
    assert_equals: expected "p" but got "a"
  2. FAILblob: window.open() inherits from caller (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
    assert_equals: expected "p" but got "a"
  3. FAILblob: Click on anchor inherits from owner of the anchor (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
    assert_equals: expected "p" but got "b"
2 passing subtests
  1. blob: Setting src inherits from parent (apart from javascript:, which keeps target policies).
  2. blob: Changing contentWindow.location indirectly inherits from who changed it directly (apart from javascript:, which keeps target policies).

/content-security-policy/inheritance/inheritance-from-initiator.sub.html?scheme=data OK 7 / 7

7 passing subtests
  1. data: Setting src inherits from parent (apart from javascript:, which keeps target policies).
  2. data: Changing contentWindow.location inherits from who changed it (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
  3. data: Changing contentWindow.location indirectly inherits from who changed it directly (apart from javascript:, which keeps target policies).
  4. data: window.open() inherits from caller (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
  5. data: Click on anchor inherits from owner of the anchor (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
  6. data: Form submission through submit() inherits from owner of form (apart from javascript:, which keeps target policies).
  7. data: Form submission through button click inherits from owner of form (apart from javascript:, which keeps target policies).

/content-security-policy/inheritance/inheritance-from-initiator.sub.html?scheme=javascript OK 7 / 7

7 passing subtests
  1. javascript: Setting src inherits from parent (apart from javascript:, which keeps target policies).
  2. javascript: Changing contentWindow.location inherits from who changed it (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
  3. javascript: Changing contentWindow.location indirectly inherits from who changed it directly (apart from javascript:, which keeps target policies).
  4. javascript: window.open() inherits from caller (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
  5. javascript: Click on anchor inherits from owner of the anchor (apart from javascript:, which keeps target policies, and blob:, which always inherits from creator).
  6. javascript: Form submission through submit() inherits from owner of form (apart from javascript:, which keeps target policies).
  7. javascript: Form submission through button click inherits from owner of form (apart from javascript:, which keeps target policies).
inherited-csp-list-modifications-are-local.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. Test that parent document image loads
  2. Test that embedded iframe document image does not load
  3. Test that spv event is fired
javascript-url-open-in-main-window.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Executing Javascript URL keeps enforcing previous CSPs of the document.
javascript-url-srcdoc-cross-origin-iframe-inheritance.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Nested cross-origin iframe should be blocked by frame-src 'self'.
location-reload.html3 / 3 passingChrome 3 / 30 failedClean
Standing
Clean runner status OK
Chrome
Clean 3 / 3 WPT subtests passing runner status OK
3 passing subtests
  1. location.reload() of empty iframe.
  2. location.reload() of blob URL iframe.
  3. location.reload() of srcdoc iframe.
sandboxed-blob-scheme.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Violation report status OK.
sandboxed-data-scheme.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Violation report status OK.
unsandboxed-blob-scheme.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Violation report status OK.
unsandboxed-data-scheme.html1 / 1 passingChrome 1 / 10 failedClean
Standing
Clean runner status OK
Chrome
Clean 1 / 1 WPT subtests passing runner status OK
1 passing subtest
  1. Violation report status OK.
window-open-local-after-network-scheme.sub.html2 / 2 passingChrome 2 / 20 failedClean
Standing
Clean runner status OK
Chrome
Clean 2 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. Popup being navigated to about:blank was same-origin.
  2. Popup being navigated to about:blank was cross-origin.
window.html4 / 4 passingChrome 4 / 40 failedClean
Standing
Clean runner status OK
Chrome
Clean 4 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. window.open() inherits policy.
  2. `document.write` into `window.open()` inherits policy.
  3. window.open('blob:...') inherits policy.
  4. window.open('javascript:...') inherits policy.

Written as HTML by tools/wpt_site/generate.zig from the runner’s journals and result streams; site.js adds the interactive chart, sorting, filtering and search. Faces: Source Serif 4, Public Sans and Source Code Pro, under the SIL Open Font License. Crane on GitHub.