From d280c871576d39eb6a5bb5796adf456d766e96fc Mon Sep 17 00:00:00 2001 From: KirtiRamchandani Date: Mon, 1 Jun 2026 22:12:06 +0530 Subject: [PATCH 1/2] Document Firefox Crash Reporting API Nightly support --- .../firefox/experimental_features/index.md | 16 ++++++++++++++++ .../en-us/mozilla/firefox/releases/152/index.md | 8 +++++++- files/en-us/web/api/crashreport/index.md | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index ae9b9a7ad62b93f..1a9e79af2ef92f3 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -484,6 +484,22 @@ For example, the {{domxref("CSSNumericValue/to","to()")}} method of the {{domxre - `layout.css.typed-om.enabled` - : Set to `true` to enable. +### Crash Reporting API + +The [Crash Reporting API](/en-US/docs/Web/API/CrashReport) provides a way for sites to include diagnostic data in browser crash reports sent through the [Reporting API](/en-US/docs/Web/API/Reporting_API). +It exposes the {{domxref("Window.crashReport")}} property and the {{domxref("CrashReportContext")}} interface, which stores key-value data for the current top-level browsing context. +([Firefox bug 2036160](https://bugzil.la/2036160)). + +| Release channel | Version added | Enabled by default? | +| ----------------- | ------------- | ------------------- | +| Nightly | 152 | Yes | +| Developer Edition | - | - | +| Beta | - | - | +| Release | - | - | + +- `dom.reporting.crash.enabled` + - : Set to `true` to enable (enabled by default in Nightly). + ### Graphics: Canvas, WebGL, and WebGPU #### WebGL: Draft extensions diff --git a/files/en-us/mozilla/firefox/releases/152/index.md b/files/en-us/mozilla/firefox/releases/152/index.md index 11557586ce2ffcf..b5e03d4592d9d66 100644 --- a/files/en-us/mozilla/firefox/releases/152/index.md +++ b/files/en-us/mozilla/firefox/releases/152/index.md @@ -99,10 +99,16 @@ Firefox 152 is the current [Beta version of Firefox](https://www.firefox.com/en- ## Experimental web features -These features are shipping in Firefox 152 but are disabled by default. +These features are shipping in Firefox 152 but are disabled by default unless otherwise noted. To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`. You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page. +- **Crash Reporting API**: `dom.reporting.crash.enabled` + + The [Crash Reporting API](/en-US/docs/Web/API/CrashReport) is now available in Nightly builds, where it is enabled by default. + This exposes {{domxref("Window.crashReport")}} and {{domxref("CrashReportContext")}}, allowing pages to store key-value diagnostic data that can be included in {{domxref("CrashReport")}} objects sent through the [Reporting API](/en-US/docs/Web/API/Reporting_API). + ([Firefox bug 2036160](https://bugzil.la/2036160)). + - **Check if a media encoding/decoding configuration is supported for WebRTC**: `media.mediacapabilities.webrtc.enabled` The `webrtc` type can now be passed as an option for [`MediaCapabilities.decodingInfo()`](/en-US/docs/Web/API/MediaCapabilities/decodingInfo#webrtc) and [`MediaCapabilities.encodingInfo()`](/en-US/docs/Web/API/MediaCapabilities/encodingInfo#webrtc) to check if an encoding/decoding configuration can be used for WebRTC. diff --git a/files/en-us/web/api/crashreport/index.md b/files/en-us/web/api/crashreport/index.md index 01342d1865386d7..9728f9124609a88 100644 --- a/files/en-us/web/api/crashreport/index.md +++ b/files/en-us/web/api/crashreport/index.md @@ -2,7 +2,7 @@ title: CrashReport slug: Web/API/CrashReport page-type: web-api-interface -browser-compat: api.ReportingObserver.ReportingObserver.options_parameter.types_property.crash +browser-compat: http.headers.Reporting-Endpoints.default.receives_crash_type --- {{APIRef("Reporting API")}} From 8a2bcc9d1f45936f7744166205a7882659e5bf05 Mon Sep 17 00:00:00 2001 From: KirtiRamchandani Date: Tue, 2 Jun 2026 10:45:11 +0530 Subject: [PATCH 2/2] Address Crash Reporting review comments --- .../firefox/experimental_features/index.md | 32 +++++++++---------- .../mozilla/firefox/releases/152/index.md | 4 +-- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/files/en-us/mozilla/firefox/experimental_features/index.md b/files/en-us/mozilla/firefox/experimental_features/index.md index 1a9e79af2ef92f3..44017ac057c3ee3 100644 --- a/files/en-us/mozilla/firefox/experimental_features/index.md +++ b/files/en-us/mozilla/firefox/experimental_features/index.md @@ -447,6 +447,22 @@ These give developers more flexibility when structuring and loading JavaScript m ## APIs +### Crash Reporting API + +The [Crash Reporting API](/en-US/docs/Web/API/CrashReport) provides a way for sites to include diagnostic data in browser crash reports sent through the [Reporting API](/en-US/docs/Web/API/Reporting_API). +It exposes the {{domxref("Window.crashReport")}} property and the {{domxref("CrashReportContext")}} interface, which store key-value data for the current top-level browsing context. +([Firefox bug 2036160](https://bugzil.la/2036160)). + +| Release channel | Version added | Enabled by default? | +| ----------------- | ------------- | ------------------- | +| Nightly | 152 | Yes | +| Developer Edition | 152 | No | +| Beta | 152 | No | +| Release | 152 | No | + +- `dom.reporting.crash.enabled` + - : Set to `true` to enable (enabled by default in Nightly). + ### Scoped custom element registries Support for [scoped custom element registries](/en-US/docs/Web/API/Web_components/Using_custom_elements#scoped_custom_element_registries) is being implemented. @@ -484,22 +500,6 @@ For example, the {{domxref("CSSNumericValue/to","to()")}} method of the {{domxre - `layout.css.typed-om.enabled` - : Set to `true` to enable. -### Crash Reporting API - -The [Crash Reporting API](/en-US/docs/Web/API/CrashReport) provides a way for sites to include diagnostic data in browser crash reports sent through the [Reporting API](/en-US/docs/Web/API/Reporting_API). -It exposes the {{domxref("Window.crashReport")}} property and the {{domxref("CrashReportContext")}} interface, which stores key-value data for the current top-level browsing context. -([Firefox bug 2036160](https://bugzil.la/2036160)). - -| Release channel | Version added | Enabled by default? | -| ----------------- | ------------- | ------------------- | -| Nightly | 152 | Yes | -| Developer Edition | - | - | -| Beta | - | - | -| Release | - | - | - -- `dom.reporting.crash.enabled` - - : Set to `true` to enable (enabled by default in Nightly). - ### Graphics: Canvas, WebGL, and WebGPU #### WebGL: Draft extensions diff --git a/files/en-us/mozilla/firefox/releases/152/index.md b/files/en-us/mozilla/firefox/releases/152/index.md index b5e03d4592d9d66..3c2b861e79cefb4 100644 --- a/files/en-us/mozilla/firefox/releases/152/index.md +++ b/files/en-us/mozilla/firefox/releases/152/index.md @@ -103,9 +103,9 @@ These features are shipping in Firefox 152 but are disabled by default unless ot To experiment with them, search for the appropriate preference on the `about:config` page and set it to `true`. You can find more such features on the [Experimental features](/en-US/docs/Mozilla/Firefox/Experimental_features) page. -- **Crash Reporting API**: `dom.reporting.crash.enabled` +- **Crash Reporting API** (Nightly): `dom.reporting.crash.enabled` - The [Crash Reporting API](/en-US/docs/Web/API/CrashReport) is now available in Nightly builds, where it is enabled by default. + The [Crash Reporting API](/en-US/docs/Web/API/CrashReport) is now supported. This exposes {{domxref("Window.crashReport")}} and {{domxref("CrashReportContext")}}, allowing pages to store key-value diagnostic data that can be included in {{domxref("CrashReport")}} objects sent through the [Reporting API](/en-US/docs/Web/API/Reporting_API). ([Firefox bug 2036160](https://bugzil.la/2036160)).