Firefox 158 release notes for developers (Beta)

This article provides information about the changes in Firefox 158 that affect developers. Firefox 158 is the current Beta version of Firefox and ships on October 13, 2026.

Note: The release notes for this Firefox version are still a work in progress.

Changes for web developers

Accessibility

  • The aria-busy attribute is now supported in Firefox for Android (desktop support has been available for a long time). This ARIA state indicates whether an element is currently being modified. It allows assistive technologies to wait until changes to the content are complete before informing users of the update. For example, a screen reader can wait until a live region has finished updating before announcing the changes. (Firefox bug 908042).

CSS

  • CSS typed arithmetic is now supported, which enables using functions such as calc() to divide two values of the same data type, even if they use different units. The resulting unitless quotients can then be converted to other data types, creating useful relationships between different values on a page. (Firefox bug 2067411).

HTTP

APIs

DOM

WebDriver conformance (WebDriver BiDi, Marionette)

General

  • Added support for setting the camera and microphone permissions with the permissions.setPermission command in WebDriver BiDi and the WebDriver:SetPermission command in Marionette. This allows tests to grant or deny access to media devices without prompting the user. (Firefox bug 2070577).
  • Changed the touch start and touch move tolerances to zero in automation, so that touch actions now scroll from exactly the position at which they are dispatched, without small initial movements being absorbed. (Firefox bug 2055661).

WebDriver BiDi

  • Added support for the imageSize argument to the browsingContext.captureScreenshot command, which allows clients to specify the maximum size of the resulting screenshot image. (Firefox bug 2069002).
  • Added support for the destinationFolder argument to the browsingContext.startScreencast command, which allows clients to choose the folder where the recorded video file is saved. (Firefox bug 2072616).

Marionette

  • Fixed the WebDriver:TakeScreenshot command to return an unable to capture screen error when the width or height of the captured image is zero. (Firefox bug 1492357).

Other

  • Support for the JPEG XL image format (image/jxl) is now enabled by default. JPEG XL is a royalty-free raster image format that supports lossy and lossless compression, transparency, animation, and HDR. It can also losslessly transcode existing JPEG images. (Firefox bug 2065096).

Changes for add-on developers

Experimental web features

These features are shipping in Firefox 158 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.

  • corner-shape properties: layout.css.corner-shape.enabled

    The corner-shape shorthand property and its constituent longhand properties are now supported in Nightly. These properties let you customize corner shapes using one of the <corner-shape-value> keyword values or the superellipse() function. (Firefox bug 2070927).

  • On-device speech recognition: media.webspeech.recognition.enable

    On-device speech recognition is now supported in Nightly, on desktop only. This allows you to perform speech recognition via the Web Speech API directly in the browser, rather than relying on a cloud service. (Firefox bug 2069803).

  • Streaming request bodies: dom.fetch.streaming_upload

    Enabled in Nightly only, you can now set a ReadableStream as a request body (for example, via the Request() constructor or the Window.fetch() method). This allows you to stream uploads incrementally rather than having to wait for the whole body to be available. (Firefox bug 1594633).