MDN self-hosted library · e01.org

Firefox 124 release notes for developers

This article provides information about the changes in Firefox 124 that affect developers. Firefox 124 was released on March 19, 2024.

no runnable cells firefox-release-notes upstream source

This article provides information about the changes in Firefox 124 that affect developers. Firefox 124 was released on March 19, 2024.

Changes for web developers

HTML

No notable changes.

CSS

  • The text-wrap property has now been converted to a shorthand property and covers the constituent properties text-wrap-mode and text-wrap-style. (Firefox bug 1758391).

JavaScript

No notable changes.

SVG

  • The ::first-letter and ::first-line CSS pseudo-elements can now be applied to the text SVG element. This allows you to change the fill, stroke or font of the first letter/line of a <text> element using CSS, for example. (Firefox bug 1302722).

APIs

WebDriver conformance (WebDriver BiDi, Marionette)

WebDriver BiDi

Marionette

Changes for add-on developers

  • Adds the runtime.onPerformanceWarning event that enables extensions to obtain information when the browser detects that the extension has a runtime performance issue such as a slow-running content script (Firefox bug 1861445).

Experimental web features

These features are newly shipped in Firefox 124 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 page.

  • Growable SharedArrayBuffer: javascript.options.experimental.sharedarraybuffer_growable.

The SharedArrayBuffer is now growable using the SharedArrayBuffer.prototype.grow() method. The maximum allowed size of the buffer is specified using the options.maxByteLength parameter to the SharedArrayBuffer() constructor. The SharedArrayBuffer.prototype.growable and SharedArrayBuffer.prototype.maxByteLength properties indicate whether the buffer can be grow, and its maximum allowed size, respectively. (Firefox bug 1842773.)

  • Resizable ArrayBuffer: javascript.options.experimental.arraybuffer_resizable.

The ArrayBuffer can now be resized using the ArrayBuffer.prototype.resize() method. The maximum allowed size of the buffer is specified using the options.maxByteLength parameter to the ArrayBuffer() constructor. The ArrayBuffer.prototype.resizable and ArrayBuffer.prototype.maxByteLength properties indicate whether the buffer can be resized, and its maximum allowed size, respectively. (Firefox bug 1842773.)