Firefox 138 for developers
This article provides information about the changes in Firefox 138 that affect developers. Firefox 138 is the current Beta version of Firefox and ships on April 29, 2025.
Changes for web developers
Developer Tools
HTML
Removals
CSS
Removals
JavaScript
- The
Error.captureStackTrace()
static method is now supported. This installs stack trace information on a provided object as theError.stack
property. Its main use case is to install a stack trace on a custom error object that does not derive from theError
interface. (Firefox bug 1950508). - The
Error.isError()
static method can now be used to check whether or not an object is an instance of anError
or aDOMException
. This is more reliable than usinginstanceof
for the same purpose. (Firefox bug 1952249).
Removals
SVG
Removals
HTTP
- The HTTP
Origin-Agent-Cluster
response header can now be used by a site to hint that the associated document should be placed in an origin-keyed agent cluster. When in such a cluster, the operating system process and/or other OS resources used by the document are only shared with other documents from the same origin. This makes it less likely that a resource-intensive document will degrade the performance of documents from other origins. Developers can test whether the browser has put the document in an origin-keyed agent cluster using thewindow.originAgentCluster
property. (Firefox bug 1665474)
Removals
Security
Removals
APIs
DOM
Media, WebRTC, and Web Audio
- WebRTC applications can now set a preference for prioritizing framerate or resolution when both cannot be maintained at the configured levels due to network degradation.
The value is set using the
degradationPreference
property in the parameter object passed to thesetParameters()
method of theRTCRtpSender
interface. It can also be read from the object returned by thegetParameters()
method. (Firefox bug 1329847).
Removals
WebAssembly
Removals
WebDriver conformance (WebDriver BiDi, Marionette)
General
WebDriver BiDi
Marionette
Changes for add-on developers
- Support provided for
page_action
as amenus.ContextType
in themenus
API for Manifest V3 extensions. This provides Manifest V3 extensions the same ability as Manifest V2 extensions to add menu items topage_action
. (Firefox bug 1951166) - The
contextualIdentities
API is no longer defined in Firefox for Android. Previously, it was defined but defective. (Firefox bug 1659500) - The
contextualIdentities
permission is now not recognized on Firefox for Android. Previously, it enabled a broken version of the "containers" feature. (Firefox bug 1659500) - The new Manifest V3 version of the
userScripts
API is now available on Firefox for Android. (Firefox bug 1949955) - The
alarms.create
API now returns a Promise instead of undefined. (Firefox bug 1869171)
Removals
Other
Experimental web features
These features are newly shipped in Firefox 138 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.
- ::details-content CSS pseudo-element:
layout.css.details-content.enabled
. The CSS::details-content
pseudo-element enables you to style the content of the<details>
element (Firefox bug 1901037). MutationEvent
on path to removal:MutationEvent
and its associated events (DOMSubtreeModified
,DOMNodeInserted
,DOMNodeRemoved
,DOMCharacterDataModified
,DOMAttrModified
) are now disabled on Firefox Nightly by default. (Firefox bug 1951772).Notification.actions
: (Nightly release): TheNotification.actions
property can get the actions associated with aNotification
, as set usingServiceWorkerRegistration.showNotification()
. (Firefox bug 1225110).
Older versions
- Firefox 137 for developers
- 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