← Back to release summary

JavaScript call stacks in out-of-memory (OOM) crash reports

Category
Miscellaneous
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Out-of-memory crash reports can include a JavaScript call stack when a document opts in using Document-Policy: include-js-call-stacks-in-crash-reports. The stack helps developers group production OOM failures and identify the JavaScript execution path active near heap exhaustion. Capture is best effort and does not necessarily identify the allocation site or root cause.

Motivation

Renderer OOM crashes are difficult to diagnose because they can depend on workload, data, and memory conditions and may not reproduce locally. Chromium provides a best-effort JavaScript stack for unresponsive renderer crash reports using the same Document Policy opt-in. Without comparable OOM stacks, developers receive only reason: "oom" and must correlate page URLs, application telemetry, user reports, and additional instrumentation to investigate the failure.

Standards & signals

Ecosystem

Docs: https://docs.google.com/document/d/1lTlSzYSknbW9EuoR1pM2oSRqt66BmEVJ3tAnCKuaeM4/edit?usp=sharing

Explainers: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/CrashReporting/AddStackToCrashReports.md

View on chromestatus.com