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 sectionheader and sectionfooter ARIA roles are now supported. They identify the header and footer of a section, distinct from the page-level landmark roles banner and contentinfo. (Firefox bug 1893684)
  • The headingoffset attribute 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

JavaScript

  • Regular expression buffer boundary assertions (\A and \z) are now supported. \A matches only at the start of the input string and \z only at the end, regardless of the m (multiline) flag — unlike ^ and $, which are affected by m. (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 ReadableStream as the body of a Request, enabling incremental upload without buffering the full payload first. (Firefox bug 2089458)

APIs

DOM

  • The document.parsed, document.contentLoaded, and document.loaded properties are now supported. Each returns a Promise that resolves when the document has finished parsing, when DOMContentLoaded has fired, or when load has 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, and click events on web pages. They are reported as button values 3 and 4 in mouse event objects. (Firefox bug 2073171)
  • The raw-secret and raw-public key format aliases are now supported in the Web Crypto API. These can be used as the format argument to SubtleCrypto.importKey() and SubtleCrypto.exportKey(). (Firefox bug 2086697)
  • The iceCandidatePoolSize configuration option of RTCPeerConnection is 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

Removals

  • Some non-standard Gamepad interface attributes that were only available in Firefox are now deprecated and will log a console warning. (Firefox bug 2089662)

Changes for add-on developers

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): The ident() 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): The inherit() 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): The random-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 for file: URLs, preventing local HTML files from setting or reading cookies. (Firefox bug 2094146)