Crash
The crash report tells you a page renderer crashed or became unresponsive, delivered after the page is gone.
Last update:
A crash report tells you a page's renderer process crashed or hung. Because the
page is no longer running, the browser process builds the report itself when it sees
the renderer die, which is why crash reporting needs a server endpoint and cannot be
caught in page. The payload is deliberately minimal for privacy.
Chromium only
Crash reporting is a WICG draft, not a W3C standard, and only Chromium implements it. The body is intentionally sparse.
When the browser sends it
When the renderer process crashes (for example out of memory) or is killed because it
stopped responding. Chromium queues the report in the browser process as soon as it
detects the dead renderer, and delivers it in the next delivery pass, like any other
report, to the default reporting endpoint,
or to an endpoint named crash-reporting when the page declared one (Chrome 139+). No
later page load is needed, but the queue lives in memory: if the whole browser
crashes or is closed first, the report is lost. A manual kill from the Task Manager
or a normal shutdown sends no report. It cannot be observed in page through
ReportingObserver, because the page is already gone, the server endpoint is the only
way to receive it.
Payload example
{
"type": "crash",
"age": 27,
"url": "https://example.com/",
"user_agent": "Mozilla/5.0 ...",
"body": {
"is_top_level": true,
"visibility_state": "visible",
"crash_report_api": {
"checkout_step": "payment"
},
"reason": "oom"
}
}Every crash report body carries these fields inside the shared report envelope.
Field reference
| Field | Meaning |
|---|---|
reason | oom (out of memory) or unresponsive. Omitted when the browser cannot tell why the renderer died. |
is_top_level | Whether the crashed document was the top-level page. |
visibility_state | Whether the page was visible or hidden at the time. |
crash_report_api | The key/value pairs the page stored with window.crashReport.set() (Chrome 145+). Always present in Chromium, empty when the page stored nothing. |
stack | A JS call stack, included only when reason is unresponsive, the page sends Document-Policy: include-js-call-stacks-in-crash-reports, and Chromium could collect it. When the hung script belongs to another frame in the same process, the value is Unable to collect JS call stack. |
The crash_report_api field comes from the crash report context API: the page calls
await window.crashReport.initialize(size) once (up to 5 MB), then
window.crashReport.set(key, value) and delete(key) to keep app state (a route, a
checkout step) that the browser attaches to the report if the page crashes. Never
store personal data there.
How to receive it
Declare a default endpoint in Reporting-Endpoints,
or a crash-reporting endpoint to keep crash reports apart from the rest. The report
arrives within the usual delivery delay (about a minute) after the crash, out of band,
and the URL in its envelope is the page that crashed. CentralCSP collects crash
signals alongside your other reports.
Reporting-Endpoints: crash-reporting="https://<Endpoint-ID>.report.centralcsp.com"What it tells you about security
Most crashes are stability issues, but a pattern is a signal: repeated out-of-memory or unresponsive crashes concentrated on one page or tied to one script can indicate a denial-of-service condition or a misbehaving (or hostile) third-party script.
Gotchas
Body field names are snake_case. Privacy constraints keep the body minimal: the JS call stack is only ever included under the specific Document-Policy above, and crash_report_api only holds what the page itself stored.
Browser support
Chromium-based browsers only; not Baseline. Other engines do not emit crash reports.
See also
- Document-Policy
- How the Reporting API works
- Browser crash and unresponsive reports
- Crash monitoring in CentralCSP
- Reporting-Endpoints header
- The report delivery format