9.23content-security-policy/reporting-api/

36 / 42 WPT subtests passing

Failed
6
Timed out
0
Not run
0
Test files
16
Blocking files
0

Chrome 31 / 42 WPT subtests passing on the same files, 2 blocking

Tests

16 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
dedicated-worker-correct-url-in-report.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. dedicated-worker-correct-url-in-report
  2. dedicated-worker-correct-url-in-report 1
  3. URL in report should point to worker where violation occurs
  4. URL in report should point to worker where violation occurs' (with redirect)'
report-body-dictionary.https.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. A CSP violation report body is a plain object with every CSPViolationReportBody member
report-to-directive-allowed-in-meta.https.sub.html4 / 4 passingChrome 3 / 40 failedClean
Standing
Clean runner status OK
Chrome
With failures 3 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Test that image does not load
  2. Event is fired
  3. Report is observable to ReportingObserver
  4. Violation report status OK.
reporting-api-doesnt-send-reports-without-violation.https.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. Test that image loads
  2. Violation report status OK.
reporting-api-report-only-sends-reports-on-violation.https.sub.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 image does load
  2. Event is fired
  3. Violation report status OK.
reporting-api-report-to-only-sends-reports-to-first-endpoint.https.sub.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 image does not load
  2. Event is fired
  3. Violation report status OK.
reporting-api-report-to-overrides-report-uri-1.https.sub.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 image does not load
  2. Event is fired
  3. Violation report status OK.
reporting-api-report-to-overrides-report-uri-2.https.sub.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 image does not load
  2. Event is fired
  3. Violation report status OK.
reporting-api-sends-reports-on-violation-2.https.sub.html3 / 4 passingChrome 3 / 41 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 3 / 4 WPT subtests passing runner status OK
  1. FAILReport is observable to ReportingObserver
    assert_in_array: value 18 not in array [4, 5]
3 passing subtests
  1. Test that image does not load
  2. Event is fired
  3. Violation report status OK.
reporting-api-sends-reports-on-violation-for-css-background-image.https.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. A blocked image fetched by CSS is reported without a source location.
reporting-api-sends-reports-on-violation-for-dedicated-worker-import.https.sub.html0 / 2 passingChrome 0 / 22 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 2 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

the module DedicatedWorker's cross-origin static import is checked against the worker's own CSP, not the creator's worker-src 'self', so no report is received - both subtests fail as in Chrome, Firefox and Safari (only each engine's TypeError text differs)

Crane matches
Chrome, Firefox, Safari
Chrome
wpt.fyi run 4786307730243584: 0/2 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/2 (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/2 (Safari 27.2, 2358bd4835)
Ruling
golden rule 2, no newer spec: whatwg/html#9571 (Firefox and WebKit use the worker's settings for static descendants); the integrator, 2026-11-18 3:02 PM ET (lane csp1)
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
  1. FAILA blocked static import in a module DedicatedWorker is reported on the creator document.
    promise_test: Unhandled rejection with value: object "Error: No report received"
  2. FAILViolation report status OK.
    Cannot read properties of undefined (reading 'body')
reporting-api-sends-reports-on-violation-for-shared-worker-import.https.sub.html0 / 2 passingChrome 0 / 22 failedExempt
Standing
Exempt runner status OK
Chrome
Exempt 0 / 2 WPT subtests passing runner status OK

Exempt from the 0.1 gate: Crane follows the browser majority

the module SharedWorker's static import is checked against the worker's own CSP, so no report is received - both subtests fail as in Chrome, Firefox and Safari (only each engine's TypeError text differs)

Crane matches
Chrome, Firefox, Safari
Chrome
wpt.fyi run 4786307730243584: 0/2 (Chrome 157, 2358bd4835)
Firefox
wpt.fyi run 4877168468033536: 0/2 (Firefox 160, 2358bd4835)
Safari
wpt.fyi run 6479119966273536: 0/2 (Safari 27.2, 2358bd4835)
Ruling
golden rule 2, no newer spec: whatwg/html#9571 (Firefox and WebKit use the worker's settings for static descendants); workers/modules/shared-worker-import-csp.html: Crane 6/9 = Firefox = Safari; the integrator, 2026-11-18 3:02 PM ET (lane csp1)
Revisit
when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
  1. FAILA blocked static import in a module SharedWorker is reported on the creator document.
    promise_test: Unhandled rejection with value: object "Error: No report received"
  2. FAILViolation report status OK.
    Cannot read properties of undefined (reading 'body')
reporting-api-sends-reports-on-violation-for-worklet-import.https.sub.html2 / 2 passingChrome 0 / 20 failedClean
Standing
Clean runner status OK
Chrome
NONE-PASSED 0 / 2 WPT subtests passing runner status OK
2 passing subtests
  1. A blocked static import in an AudioWorklet is reported on the creator document.
  2. Violation report status OK.
reporting-api-sends-reports-on-violation.https.sub.html4 / 4 passingChrome 3 / 40 failedClean
Standing
Clean runner status OK
Chrome
With failures 3 / 4 WPT subtests passing runner status OK
4 passing subtests
  1. Test that image does not load
  2. Event is fired
  3. Report is observable to ReportingObserver
  4. Violation report status OK.
reporting-api-works-on-frame-ancestors.https.sub.html1 / 2 passingChrome 1 / 21 failedWith failures
Standing
With failures runner status OK
Chrome
With failures 1 / 2 WPT subtests passing runner status OK
  1. FAILViolation report status OK.
    Cannot read properties of undefined (reading 'body')
1 passing subtest
  1. No report to parent.
reporting-api-works-on-frame-src.https.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. Event is fired
  2. Violation report status OK.

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.