Firefox 137 for developers
This article provides information about the changes in Firefox 137 that affect developers. Firefox 137 is the current Beta version of Firefox and ships on April 1, 2025.
Changes for web developers
Developer Tools
HTML
Removals
CSS
- The
hyphenate-limit-chars
CSS property provides you with fine-grained control over hyphenation in text. It is used to specify the minimum word length for hyphenation as well as the number of characters before and after the hyphen. (Firefox bug 1947183). - The
text-decoration-line
CSS property now accepts the valuesspelling-error
andgrammar-error
. These values use the browser's styling for spelling and grammar errors and disregard the other properties in thetext-decoration
shorthand. (Firefox bug 1950844).
Removals
JavaScript
- The
Math.sumPrecise()
static method is now supported. This takes an iterable (such as anArray
) of numbers and returns their sum. It is more precise than summing the numbers in a loop because it avoids floating point precision loss in intermediate results. (Firefox bug 1943120). - The
Atomics.pause()
static method is now supported. This method provides a hint to the CPU that the current thread is in a spinlock while waiting on access to a shared resource. The system can then reduce the resources allocated to the core (such as power) or thread, without yielding the current thread. (Firefox bug 1937805).
Removals
SVG
- The
<discard>
SVG element is now supported, along with its correspondingSVGDiscardElement
JavaScript interface. The element allows developers to specify a trigger time or event at which a specified element and its children should be removed from the DOM. An SVG viewer can use this information to conserve memory by discarding elements that are no longer needed, such as animated elements that have completed. (Firefox bug 1945330).
Removals
HTTP
Removals
Security
Removals
APIs
- The
getPathData()
,setPathData()
, andgetPathSegmentAtLength()
methods of theSVGPathSegment
interface are now supported. These methods provide a convenient way to work with SVG path data instead of parsing raw string data. (Firefox bug 1945312).
DOM
Media, WebRTC, and Web Audio
- HEVC (H.265) is now hardware enabled on Android, and hardware and software enabled on Linux. This adds to existing hardware and software support on Windows and macOS. (Firefox bug 1950032).
Removals
- The following non-standard events are now deprecated and proposed for removal:
afterscriptexecute
andbeforescriptexecute
inDocument
, andafterscriptexecute
, andbeforescriptexecute
inElement
. A console warning is displayed when they are used. (Firefox bug 1949373).
WebAssembly
Removals
WebDriver conformance (WebDriver BiDi, Marionette)
General
- Input sources of type
mouse
andtouch
now support fractional numbers for x and y positions for thepointerMove
action (Firefox bug 1946774).
WebDriver BiDi
- Implemented new
webExtension.install
(Firefox bug 1934551) andwebExtension.uninstall
(Firefox bug 1934553) commands, enabling clients to install and uninstall web extensions in the browser. - Added support for
userContexts
argument tosessions.subscribe
command, which allows clients subscribing to a list of user contexts (also known as Firefox containers) (Firefox bug 1938604). script.addPreloadScript
command is updated to throw aninvalid argument
error when bothcontexts
anduserContexts
arguments are provided (Firefox bug 1945554).browsingContext.navigate
command will not return immediately anymore whenwait
argument equalsnone
and beforeunload prompt opens. That's the first step of updating the logic behindwait
argument equalsnone
(Firefox bug 1948700).
Marionette
- From now on, a
javascript error
from a syntax error raised by script evaluation will contain line and column number (Firefox bug 1865146). - Performing actions with async events enabled will not fail anymore with a
Cyclic object value
error message (Firefox bug 1947112). Async events were enabled since Firefox 135. See more details in the release notes.
Changes for add-on developers
- Adds
commands.openShortcutSettings
that opens the Manage Extension Shortcuts page of Manage Your Extensions (about:addons
) and, if the extension has shortcuts, scrolls to and highlights the extension's shortcut key options. (Firefox bug 1538451) - The 10 MB quota for data stored by the
storage.session
API is now enforced. (Firefox bug 1915688)
Removals
Other
Experimental web features
These features are newly shipped in Firefox 137 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.
- Temporal API (Nightly release): is now enabled in Firefox Nightly by default. The Temporal object aims to simplify working with dates and times in various scenarios, with built-in time zone and calendar representations. (Firefox bug 1946823).
Older versions
- Firefox 136 for developers
- Firefox 135 for developers
- Firefox 134 for developers
- Firefox 133 for developers
- Firefox 132 for developers
- Firefox 131 for developers
- Firefox 130 for developers
- Firefox 129 for developers
- Firefox 128 for developers
- Firefox 127 for developers
- Firefox 126 for developers
- Firefox 125 for developers
- Firefox 124 for developers
- Firefox 123 for developers
- Firefox 122 for developers
- Firefox 121 for developers
- Firefox 120 for developers
- Firefox 119 for developers
- Firefox 118 for developers
- Firefox 117 for developers
- Firefox 116 for developers
- Firefox 115 for developers
- Firefox 114 for developers
- Firefox 113 for developers
- Firefox 112 for developers
- Firefox 111 for developers
- Firefox 110 for developers
- Firefox 109 for developers
- Firefox 108 for developers
- Firefox 107 for developers
- Firefox 106 for developers