NEW269925
[Reporting API] Consider supporting crash reports via the reporting API.
https://bugs.webkit.org/show_bug.cgi?id=269925
Summary [Reporting API] Consider supporting crash reports via the reporting API.
Ryan Reno
Reported 2024-02-22 10:17:52 PST
It may be useful to report when a process crashes due to, e.g. jetsams, via the reporting API if a web site opts in.
Attachments
Radar WebKit Bug Importer
Comment 1 2024-02-22 10:19:00 PST
Tyler Gross
Comment 2 2024-02-22 13:16:55 PST
It would be useful to Photoshop Web to be able to send crash reports in the event that the nature of the crash prevents JavaScript analytics from being processed, such as in the case of an out of memory crash.
Sam Sneddon [:gsnedders]
Comment 3 2025-06-04 15:42:42 PDT
*** Bug 288525 has been marked as a duplicate of this bug. ***
rai.o
Comment 4 2025-10-14 07:38:13 PDT
Please implement this, or update the MDN page (https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API) to denote the gap in support. This caused our team to miss OOM crashes that only exist in WebKit.
Brent Fulgham
Comment 5 2025-10-14 09:39:00 PDT
(In reply to rai.o from comment #4) > Please implement this, or update the MDN page > (https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API) to denote > the gap in support. This caused our team to miss OOM crashes that only exist > in WebKit. Were these bugs in an iOS app that used WebKit, or in a web-based app running in Safari? (Or maybe even something in Linux)? If a specific website was affected, I can use that to increase the weighting of prioritizing this. Thanks!
Ryan Reno
Comment 6 2025-10-14 10:23:37 PDT
(In reply to rai.o from comment #4) > Please implement this, or update the MDN page > (https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API) to denote > the gap in support. This caused our team to miss OOM crashes that only exist > in WebKit. Crash reporting is a non-standard extension to the Reporting API. The spec is incomplete and not implementable as written. https://wicg.github.io/crash-reporting/
Ryan Reno
Comment 7 2025-10-14 10:25:37 PDT
Also, I should refer readers of this bug to WebKit's position https://github.com/WebKit/standards-positions/issues/456
rai.o
Comment 8 2025-10-15 03:14:30 PDT
Thanks for the context. The Reporting API documentation mentions crash reporting as a capability, but the browser compatibility information doesn’t make it immediately clear that crash reporting (via CrashReportBody) is only supported in Chromium-based browsers. Adding a prominent browser compatibility note or callout in the ‘Occurrence of crashes’ section would help developers understand implementation limitations upfront and avoid building features around unsupported functionality. This missing OOM detection capability directly impacts user experience on WebKit browsers, forcing us to implement suboptimal workarounds that degrade functionality. Having this feature would enable us to provide equivalent experiences across all browsers and better serve our WebKit users. This is for a web-based app running in any browser using WebKit under the hood. Reported the specific memory issue we discovered from a direct user report here: https://bugs.webkit.org/show_bug.cgi?id=300780
Note You need to log in before you can comment on or make changes to this bug.