Back to Content

Firefox 124 release notes for developers

files/en-us/mozilla/firefox/releases/124/index.md

latest8.4 KB
Original 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 {{cssxref("text-wrap")}} property has now been converted to a shorthand property and covers the constituent properties {{cssxref("text-wrap-mode")}} and {{cssxref("text-wrap-style")}}. (Firefox bug 1758391).

JavaScript

No notable changes.

SVG

  • The {{cssxref("::first-letter")}} and {{cssxref("::first-line")}} CSS pseudo-elements can now be applied to the {{SVGElement("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 {{WebExtAPIRef("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 {{jsxref("SharedArrayBuffer")}} is now growable using the {{jsxref("SharedArrayBuffer.prototype.grow()")}} method. The maximum allowed size of the buffer is specified using the options.maxByteLength parameter to the SharedArrayBuffer() constructor. The {{jsxref("SharedArrayBuffer.prototype.growable")}} and {{jsxref("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 {{jsxref("ArrayBuffer")}} can now be resized using the {{jsxref("ArrayBuffer.prototype.resize()")}} method. The maximum allowed size of the buffer is specified using the options.maxByteLength parameter to the ArrayBuffer() constructor. The {{jsxref("ArrayBuffer.prototype.resizable")}} and {{jsxref("ArrayBuffer.prototype.maxByteLength")}} properties indicate whether the buffer can be resized, and its maximum allowed size, respectively. (Firefox bug 1842773.)