Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions files/en-us/mozilla/firefox/experimental_features/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,24 @@ These give developers more flexibility when structuring and loading JavaScript m
- `dom.multiple_import_maps.enabled`
- : Set to `true` to enable.

## WebAssembly

### JavaScript Promise Integration

[WebAssembly JavaScript Promise Integration](https://github.com/WebAssembly/js-promise-integration) (JS-PI) allows WebAssembly applications to interoperate with JavaScript APIs that use {{jsxref("Promise")}} objects.
This lets WebAssembly code suspend while waiting for a JavaScript promise and resume when the promise settles.
([Firefox bug 2015877](https://bugzil.la/2015877)).

| Release channel | Version added | Enabled by default? |
| ----------------- | ------------- | ------------------- |
| Nightly | 152 | Yes |
| Developer Edition | - | - |
| Beta | - | - |
| Release | - | - |

- `javascript.options.wasm_js_promise_integration`
- : Set to `true` to enable.

## APIs

### Scoped custom element registries
Expand Down
13 changes: 11 additions & 2 deletions files/en-us/mozilla/firefox/releases/152/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,11 @@ Firefox 152 is the current [Beta version of Firefox](https://www.firefox.com/en-

<!-- #### Removals -->

<!-- ### WebAssembly -->
### WebAssembly

- [WebAssembly JavaScript Promise Integration](https://github.com/WebAssembly/js-promise-integration) (JS-PI) is now available in Nightly builds, where it is enabled by default.
This lets WebAssembly code suspend while waiting for JavaScript {{jsxref("Promise")}} objects and resume when the promises settle.
([Firefox bug 2015877](https://bugzil.la/2015877)).

<!-- #### Removals -->

Expand All @@ -99,10 +103,15 @@ 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.

- **WebAssembly JavaScript Promise Integration (JS-PI)**: `javascript.options.wasm_js_promise_integration`

WebAssembly JavaScript Promise Integration is now available in Nightly builds, where it is enabled by default.
([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.
Expand Down