9.24content-security-policy/reporting/
57 / 61 WPT subtests passing
- Failed
- 2
- Timed out
- 0
- Not run
- 2
- Test files
- 31
- Blocking files
- 0
Chrome 61 / 61 WPT subtests passing on the same files, none blocking
Tests
31 test files hereEach test file opens in place to its subtests, and each subtest that did not pass to its message.
link-preload-from-header-report-only-nonce.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Report should not be sent for an allowed link preload
link-preload-report-only-nonce.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Report should not be sent for an allowed link preload
multiple-report-policies.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- 2-Violation report status OK
- 1-Violation report status OK
post-redirect-stacktrace.https.html 2 / 4 passingChrome 4 / 40 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
the two stack-trace subtests pass; the two report subtests wait for a ReportingObserver report from a policy with only report-uri, which CSP queues only for report-to, so none comes and the file times out - every subtest exactly as in Firefox
- Crane matches
- Firefox
- Chrome
- wpt.fyi run 4786307730243584: 4/4 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 2/4 TIMEOUT (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/4 TIMEOUT (Safari 27.2, 2358bd4835)
- Ruling
- golden rule 2 with no majority (Chrome 4/4, Firefox 2/4, Safari 0/4), mechanism by mechanism: the stack traces do not leak (Chrome and Firefox) and a policy with only report-uri queues no Reporting API report (Firefox and Safari, CSP 3 section 5.5: a report only with report-to) - together Firefox's result (AGENTS.md golden rule 2, the user, 2026-10-17; lane rep1)
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
/content-security-policy/reporting/post-redirect-stacktrace.https.html TIMEOUT 2 / 4
- NOT RUNCSP report do not leak cross-origin post-redirect URL¶
- NOT RUNCSP report do not leak cross-site post-redirect URL¶
2 passing subtests
- StackTrace do not leak cross-origin post-redirect URL
- StackTrace do not leak cross-site post-redirect URL
report-and-enforce.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- The image should be blocked
- The stylesheet should load
- Violation report status OK.
report-blocked-data-uri.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-blocked-uri-cross-origin.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-blocked-uri.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-clips-sample.https.html 7 / 7 passingChrome 7 / 70 failedClean
7 passing subtests
- Unsafe eval violation sample is clipped to 40 characters.
- Unsafe indirect eval violation sample is clipped to 40 characters.
- Function constructor - the other kind of eval - is clipped.
- Async Function constructor is also clipped.
- Generator Function constructor is also clipped.
- AsyncGenerator Function constructor is also clipped.
- Trusted Types violation sample is clipped to 40 characters excluded the sink name.
report-cross-origin-no-cookies.sub.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Image should not load
- Violation report status OK.
- Test report cookies.
report-frame-ancestors-no-parent-cookies.sub.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Violation report status OK.
- Test report cookies.
report-frame-ancestors-with-x-frame-options.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-frame-ancestors.sub.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-multiple-violations-01.html 2 / 2 passingChrome 2 / 20 failedClean
2 passing subtests
- Violation report status OK.
- Test number of sent reports.
report-multiple-violations-02.html 1 / 2 passingChrome 2 / 21 failedWith failures
- ¶
FAILTest number of sent reports.
assert_equals: Report count was not what was expected. expected 2 but got 6
1 passing subtest
- Violation report status OK.
report-only-cross-origin-frame.sub.html 4 / 4 passingChrome 4 / 40 failedClean
4 passing subtests
- The load event triggers
- The iframe is allowed to load.
- The securitypolicyviolation is triggered.
- Violation report status OK.
report-only-in-meta.sub.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Image should load
- checkReport tests loaded
- Violation report status OK.
report-only-unsafe-eval.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Eval is allowed because the CSP is report-only
- SPV event is still raised
- Violation report status OK.
report-original-url-on-mixed-content-frame.https.sub.html 0 / 1 passingChrome 1 / 11 failedExempt
Exempt from the 0.1 gate: Crane follows the browser majority
no CSP report is sent for the mixed-content frame block-all-mixed-content would block, as in Firefox and Safari (only each engine's TypeError text differs); only Chrome still reports the obsolete directive
- Crane matches
- Firefox, Safari
- Chrome
- wpt.fyi run 4786307730243584: 1/1 (Chrome 157, 2358bd4835)
- Firefox
- wpt.fyi run 4877168468033536: 0/1 (Firefox 160, 2358bd4835)
- Safari
- wpt.fyi run 6479119966273536: 0/1 (Safari 27.2, 2358bd4835)
- Ruling
- golden rule 2: Mixed Content made block-all-mixed-content obsolete (a no-op, all mixed content being blocked or upgraded), which Firefox and Safari ship (lane rep1: "Chrome only")
- Revisit
- when Chrome, Firefox or Safari changes its result on a newer aligned wpt.fyi run, or Crane's result moves
- ¶
FAILViolation report status OK.
Cannot read properties of undefined (reading 'body')
report-original-url.sub.html 5 / 5 passingChrome 5 / 50 failedClean
5 passing subtests
- Direct block, same-origin = full URL in report
- Direct block, cross-origin = full URL in report
- Block after redirect, same-origin = original URL in report
- Block after redirect, cross-origin = original URL in report
- Violation report status OK.
report-preload-and-consume.https.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Reporting endpoints received credentials.
report-same-origin-with-cookies.html 3 / 3 passingChrome 3 / 30 failedClean
3 passing subtests
- Image should not load
- Violation report status OK.
- Test report cookies.
report-strips-fragment.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Reported document URI does not contain fragments.
report-strips-username-password.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Reported blockedURI does not contain username or password.
report-uri-effective-directive.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-uri-from-child-frame.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-uri-from-inline-javascript.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-uri-from-javascript.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-uri-multiple-reversed.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-uri-multiple.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.
report-uri-scheme-relative.html 1 / 1 passingChrome 1 / 10 failedClean
1 passing subtest
- Violation report status OK.