<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>269925</bug_id>
          
          <creation_ts>2024-02-22 10:17:52 -0800</creation_ts>
          <short_desc>[Reporting API] Consider supporting crash reports via the reporting API.</short_desc>
          <delta_ts>2025-10-15 18:52:31 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>New Bugs</component>
          <version>Other</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=300782</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ryan Reno">rreno</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>rai.o</cc>
    
    <cc>rreno</cc>
    
    <cc>tylergross28</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>yuta</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2016109</commentid>
    <comment_count>0</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2024-02-22 10:17:52 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2016112</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-02-22 10:19:00 -0800</bug_when>
    <thetext>&lt;rdar://problem/123454140&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2016178</commentid>
    <comment_count>2</comment_count>
    <who name="Tyler Gross">tylergross28</who>
    <bug_when>2024-02-22 13:16:55 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2121799</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Sneddon [:gsnedders]">gsnedders</who>
    <bug_when>2025-06-04 15:42:42 -0700</bug_when>
    <thetext>*** Bug 288525 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150851</commentid>
    <comment_count>4</comment_count>
    <who name="">rai.o</who>
    <bug_when>2025-10-14 07:38:13 -0700</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150883</commentid>
    <comment_count>5</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2025-10-14 09:39:00 -0700</bug_when>
    <thetext>(In reply to rai.o from comment #4)
&gt; Please implement this, or update the MDN page
&gt; (https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API) to denote
&gt; the gap in support. This caused our team to miss OOM crashes that only exist
&gt; 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!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150900</commentid>
    <comment_count>6</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2025-10-14 10:23:37 -0700</bug_when>
    <thetext>(In reply to rai.o from comment #4)
&gt; Please implement this, or update the MDN page
&gt; (https://developer.mozilla.org/en-US/docs/Web/API/Reporting_API) to denote
&gt; the gap in support. This caused our team to miss OOM crashes that only exist
&gt; 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/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2150901</commentid>
    <comment_count>7</comment_count>
    <who name="Ryan Reno">rreno</who>
    <bug_when>2025-10-14 10:25:37 -0700</bug_when>
    <thetext>Also, I should refer readers of this bug to WebKit&apos;s position
https://github.com/WebKit/standards-positions/issues/456</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2151200</commentid>
    <comment_count>8</comment_count>
    <who name="">rai.o</who>
    <bug_when>2025-10-15 03:14:30 -0700</bug_when>
    <thetext>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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>