Firefox 148 release notes for developers (Beta)
This article provides information about the changes in Firefox 148 that affect developers. Firefox 148 is the current Beta version of Firefox and ships on February 24, 2026.
Note: The release notes for this Firefox version are still a work in progress.
Changes for web developers
HTML
- The initial
about:blankdocument now loads synchronously. A browsing context's first navigation may resolve toabout:blank(for example, when the initial URL is empty or explicitly set toabout:blank). In these cases, Firefox no longer replaces the initial empty document with a second, asynchronously loaded one, and instead fires theloadevent synchronously on the initial document. (Firefox bug 543435).
CSS
- The
position-areaproperty in CSS anchor positioning now correctly keeps the anchored element within the viewport. (Firefox bug 2008537).
JavaScript
- The
Iterator.zip()andIterator.zipKeyed()static methods are now supported. These "zip" together multiple input iterators, returning a new iterator that yields the group of input elements at each iteration step. They are useful when you need to combine data from multiple input iterators that are positionally aligned (the first value yielded by the first iterator corresponds to the first value yielded by the other iterators, and so on). (Firefox bug 2003333).
APIs
-
The Trusted Types API is now supported. This provides mechanisms to ensure that properties and functions that can potentially be used as vectors for XSS attacks are only able to be called with data that has been passed through a transformation function. The mechanisms allow auditing of unsafe uses of code. They don't mandate how the data is transformed, but might, for example, be used to sanitize unsafe HTML elements from user-provided strings. (Firefox bug 1994690).
-
The
Location.ancestorOriginsproperty is now supported, which enables you to determine whether a document is being embedded in an<iframe>and, if so, by which site(s). (Firefox bug 1085214). -
The
movementXandmovementYproperties on thepointerrawupdateevent are now populated when the pointer is moved — previously these were set to zero. (Firefox bug 1987671).
DOM
- The "paste" command can now be used with
Document.execCommand()in web content (in addition to web extensions). This is implemented using the Clipboard API and shares the same Security considerations, such as requiring transient activation and user acknowledgement when pasting cross-origin content. (Firefox bug 1998195).
Changes for add-on developers
Experimental web features
These features are shipping in Firefox 148 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.
-
Document Picture-in-Picture API (Nightly):
dom.documentpip.enabledThe Document Picture-in-Picture API makes it possible to open an always-on-top window that can be populated with arbitrary HTML content such as a video with custom controls or a set of streams showing the participants of a video conference call. (Firefox bug 1858562).