Firefox 162 release notes for developers (Beta)
This article provides information about the changes in Firefox 162 that affect developers. Firefox 162 is the current Beta version of Firefox and ships on December 8, 2026.
Note: The release notes for this Firefox version are still a work in progress.
Changes for web developers
HTML
- The
sectionheaderandsectionfooterARIA roles are now supported. They identify the header and footer of a section, distinct from the page-level landmark rolesbannerandcontentinfo. (Firefox bug 1893684) - The
headingoffsetattribute is now enabled by default, allowing you to shift the computed heading level of headings within a subtree by a specified amount. (Firefox bug 2044348)
CSS
- The CSS Typed Object Model (CSS Typed OM) API is now enabled by default on all channels. It exposes CSS property values as typed JavaScript objects, accessible through
HTMLElement.attributeStyleMapandElement.computedStyleMap(), and provides CSS numeric factory functions such asCSS.px()andCSS.em(). (Firefox bug 2089681) - The
border-areavalue for thebackground-clipproperty is now supported. It clips the background to the area inside the element's border, including beneath any transparent border areas. (Firefox bug 2093287)
JavaScript
- Regular expression buffer boundary assertions (
\Aand\z) are now supported.\Amatches only at the start of the input string and\zonly at the end, regardless of them(multiline) flag — unlike^and$, which are affected bym. (Firefox bug 2059792) - Multiple
<script type="importmap">elements are now supported by default on all channels. Import maps are merged in document order, with later entries overriding earlier ones for the same specifier. (Firefox bug 2093267)
HTTP
- Streaming request bodies are now supported by default on all channels. You can pass a
ReadableStreamas thebodyof aRequest, enabling incremental upload without buffering the full payload first. (Firefox bug 2089458)
APIs
DOM
- The
document.parsed,document.contentLoaded, anddocument.loadedproperties are now supported. Each returns aPromisethat resolves when the document has finished parsing, whenDOMContentLoadedhas fired, or whenloadhas fired, respectively. (Firefox bug 2091511) - Cross-document view transitions are now enabled by default on all channels. When two pages opt in by declaring
@view-transition{ navigation: auto; }in their CSS, navigating between them plays a view transition animation. (Firefox bug 2088945) - Declarative Web Push is now supported, allowing pages to subscribe to push notifications using an HTML
<link rel="push">element, without requiring a service worker registration step in JavaScript. (Firefox bug 1935325) - Mouse buttons 4 and 5 (the browser back and forward buttons found on many mice) now correctly fire
mousedown,mouseup, andclickevents on web pages. They are reported asbuttonvalues3and4in mouse event objects. (Firefox bug 2073171) - The
raw-secretandraw-publickey format aliases are now supported in the Web Crypto API. These can be used as theformatargument toSubtleCrypto.importKey()andSubtleCrypto.exportKey(). (Firefox bug 2086697) - The
iceCandidatePoolSizeconfiguration option ofRTCPeerConnectionis now supported. Setting it to a non-zero value causes ICE candidates to be pre-gathered before the peer connection is established, reducing call setup latency. (Firefox bug 1529398)
Media, WebRTC, and Web Audio
RTCAudioSourceStatsare now supported, providing statistics about a local audio track attached to anRTCPeerConnection, accessible viaRTCStatsReport. (Firefox bug 1728364)- MP3 audio streams are now supported in Media Source Extensions (MSE). You can append MP3 data to a
SourceBufferfor use withMediaSource. (Firefox bug 1169485)
Removals
- Some non-standard
Gamepadinterface attributes that were only available in Firefox are now deprecated and will log a console warning. (Firefox bug 2089662)
Changes for add-on developers
omnibox.setDefaultSuggestionnow returns aPromise. Previously, it returnedundefined. This change provides compatibility with Chrome. (Firefox bug 2090052)
Experimental web features
These features are shipping in Firefox 162 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.
ident()CSS function (layout.css.ident-function.enabled): Theident()CSS function accepts a string argument and returns it as a CSS identifier, enabling dynamic identifier construction in CSS. (Firefox bug 2088337)inherit()CSS function (layout.css.inherit-function.enabled): Theinherit()CSS function takes the inherited value of a CSS property and allows optional modifications, making it possible to derive computed values from the inherited value. (Firefox bug 2091710)random-item()CSS function (layout.css.random-item.enabled): Therandom-item()CSS function selects a random value from a provided list. An optional<random-key>parameter synchronises the selection across elements or properties sharing the same key. (Firefox bug 2092915)- Cookie blocking for
file:URLs (Nightly only): A new preference blocks cookies forfile:URLs, preventing local HTML files from setting or reading cookies. (Firefox bug 2094146)