Firefox 139 for developers

This article provides information about the changes in Firefox 139 that affect developers. Firefox 139 was released on May 27, 2025.

Changes for web developers

HTML

  • The hidden=until-found HTML attribute and the beforematch event are now supported. The hidden until found state allows you to hide the contents of an element until it is found by user search (for example, using "Find in page") or by fragment navigation. The beforematch event fires just before the hidden attribute is removed (Firefox bug 1761043 and Firefox bug 1955379).

CSS

No notable changes

JavaScript

SVG

Removals

  • The experimental <discard> element has been removed, along with its corresponding SVGDiscardElement JavaScript interface. These aren't supported in other browsers and are expected to be removed from the specification. (Firefox bug 1958839).

HTTP

No notable changes

APIs

DOM

WebDriver conformance (WebDriver BiDi, Marionette)

General

  • The priority manager (on macOS, the background QoS manager) in Firefox, which manages IPC message prioritization between the parent and content processes, has been temporarily disabled for all supported Remote Protocols. This change resolves an issue where, under high system load, initial page loads in newly opened background tabs were not being scheduled, resulting in certain commands hanging (Firefox bug 1960734).

WebDriver BiDi

  • Implemented the emulation.setGeolocationOverride command, allowing tests and automation tools to simulate geographic locations across specified browsing contexts or user contexts. This enables consumers to test location-aware features such as geofencing for local recommendations (Firefox bug 1954992).

Changes for add-on developers

Experimental web features

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

Older versions