From 55496966ef86a2adc6d4cc780fb524d9af4964dc Mon Sep 17 00:00:00 2001 From: KirtiRamchandani Date: Mon, 1 Jun 2026 23:33:44 +0530 Subject: [PATCH 1/2] Document Firefox 152 WebAssembly JS-PI support --- files/en-us/mozilla/firefox/releases/152/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/en-us/mozilla/firefox/releases/152/index.md b/files/en-us/mozilla/firefox/releases/152/index.md index a4803e4d79f540b..0a190bac8bf9a80 100644 --- a/files/en-us/mozilla/firefox/releases/152/index.md +++ b/files/en-us/mozilla/firefox/releases/152/index.md @@ -90,6 +90,11 @@ These features are shipping in Firefox 152 but are disabled by default. 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. +- **WebAssembly JavaScript Promise Integration (JS-PI)**: `javascript.options.wasm_js_promise_integration` + + WebAssembly JavaScript Promise Integration (JS-PI) allows WebAssembly modules to interoperate with asynchronous, {{jsxref("Promise")}}-based JavaScript APIs. This lets WebAssembly code suspend while waiting for a JavaScript promise and resume when the promise settles. WebAssembly JS-PI is now available in nightly builds. + ([Firefox bug 2015877](https://bugzil.la/2015877)). + - **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. From 6aece5a7a0785755f8b690490ef647a36c45e710 Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Wed, 17 Jun 2026 08:12:57 +0100 Subject: [PATCH 2/2] Small bit of clean up, plus add link. --- files/en-us/mozilla/firefox/releases/152/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/mozilla/firefox/releases/152/index.md b/files/en-us/mozilla/firefox/releases/152/index.md index 0a190bac8bf9a80..573c65d0a969d78 100644 --- a/files/en-us/mozilla/firefox/releases/152/index.md +++ b/files/en-us/mozilla/firefox/releases/152/index.md @@ -92,7 +92,7 @@ You can find more such features on the [Experimental features](/en-US/docs/Mozil - **WebAssembly JavaScript Promise Integration (JS-PI)**: `javascript.options.wasm_js_promise_integration` - WebAssembly JavaScript Promise Integration (JS-PI) allows WebAssembly modules to interoperate with asynchronous, {{jsxref("Promise")}}-based JavaScript APIs. This lets WebAssembly code suspend while waiting for a JavaScript promise and resume when the promise settles. WebAssembly JS-PI is now available in nightly builds. + WebAssembly [JavaScript Promise Integration (JS-PI)](https://github.com/WebAssembly/js-promise-integration/blob/main/proposals/js-promise-integration/Overview.md) allows WebAssembly modules to interoperate with asynchronous, {{jsxref("Promise")}}-based JavaScript APIs. This lets WebAssembly code suspend while waiting for a JavaScript promise and resume when the promise settles. ([Firefox bug 2015877](https://bugzil.la/2015877)). - **Check if a media encoding/decoding configuration is supported for WebRTC**: `media.mediacapabilities.webrtc.enabled`