coderef

Crash report storageLimited availability

The window.crashReport object is a key-value store to record information about your application's state. If there's a crash, then the data in the key-value store is sent to your crash reporting endpoint, to help you pinpoint the cause of the crash.

Not yet supported in all major browsers — check the table and provide a fallback.

Browser support

DesktopChrome
1–144Not supported
145+Supportedsince Feb 10, 2026
Current: 155
Edge
12–144Not supported
145+Supportedsince Feb 14, 2026
Current: 154
Firefox
✕Not supportedup to 157
Current: 157
Safari
✕Not supportedup to 27
Current: 27
MobileChrome Android
18–144Not supported
145+Supportedsince Feb 10, 2026
Current: 155
Firefox Android
✕Not supportedup to 157
Current: 157
Safari iOS
✕Not supportedup to 27
Current: 27

How to use

Not supported in Firefox, Safari, Firefox Android, Safari iOS. Use feature detection below and provide a fallback (or a polyfill) for those browsers.

Example

Full syntax and examples are on MDN: CrashReportContext.

Feature detection

JS · check before using
if ("CrashReportContext" in globalThis) {
  // CrashReportContext is available
} else {
  // load a polyfill or use a fallback
}

Sub-features

Support for each part of the feature (5). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
CrashReportContext145145✕✕145✕✕
CrashReportContext.delete145145✕✕145✕✕
CrashReportContext.initialize145145✕✕145✕✕
CrashReportContext.set145145✕✕145✕✕
Window.crashReport145145✕✕145✕✕