demo · v140
Crash Key-Value Reporter
Add key-value pairs of crash metadata. Then simulate a fault — the captured Reporting payload below shows exactly what would be POSTed to your reporting endpoint, including your attached keys.
Origin trial / behind a flag
Real navigator.crashReporter requires Chrome 140+ with chrome://flags/#enable-experimental-web-platform-features and a Reporting-Endpoints header. This demo simulates the attachment locally so you can see the report shape.
| key | value | |
|---|---|---|
| No keys set yet | ||
Reporting payload that would be sent:
No fault simulated yet.
navigator.crashReporter.set("build", "1.4.2-rc3");
navigator.crashReporter.set("locale", "en-GB");
navigator.crashReporter.set("ab_bucket", "exp_42");
// Attached to any subsequent crash report automatically.
see also
- Crash Reporting key-value API — feature index
- ChromeStatus entry