Firefox 142 for developers
This article provides information about the changes in Firefox 142 that affect developers. Firefox 142 is the current Nightly version of Firefox and ships on August 19, 2025.
Note: The release notes for this Firefox version are still a work in progress.
Changes for web developers
APIs
- The WebGPU API is now fully supported on Windows, in all contexts except for service workers. This allows developers to perform computation and graphics rendering using the Graphics Processing Unit (GPU) of a user's computer. (Firefox bug 1972486).
DOM
- The
Selection.getComposedRanges()
method is now supported, allowing developers to accurately get selected text ranges across shadow DOM boundaries. In addition, the methodssetBaseAndExtent()
,collapse()
, andextend()
of theSelection
interface have been modified to accept nodes inside a shadow root. (Firefox bug 1903870).
Changes for add-on developers
- Cookies created with
cookies.set()
in Nightly are now validated, and invalid cookies are rejected. The implementation in Nightly is to enable monitoring for any issues. The intention is to enforce validation in all channels in a future release. (Firefox bug 1976197)
Experimental web features
These features are shipping in Firefox 142 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.