Back to Content

Firefox 134 release notes for developers

files/en-us/mozilla/firefox/releases/134/index.md

latest5.4 KB
Original Source

This article provides information about the changes in Firefox 134 that affect developers. Firefox 134 was released on January 7, 2025.

Changes for web developers

HTML

No notable changes

CSS

  • The {{CSSXRef("align-self")}} and {{CSSXRef("justify-self")}} CSS properties and {{CSSXRef("place-self")}} CSS shorthand property are now supported for absolutely positioned elements. (Firefox bug 1920160).

JavaScript

  • Support for the {{jsxref("RegExp.escape()")}} static method that can be used to escape any potential regex syntax characters in a string, returning a new string that can be safely used as a literal pattern for the {{jsxref("RegExp/RegExp", "RegExp()")}} constructor. (Firefox bug 1918235).
  • The {{jsxref("Promise.try()")}} convenience method is now supported. The method takes a callback of any kind (a function that returns or throws, synchronously or asynchronously) and wraps its result in a {{jsxref("Promise")}}. This allows you to use promise semantics ({{jsxref("Promise.then", ".then()")}}, {{jsxref("Promise.catch", ".catch()")}}) to handle the result from any kind of method. (Firefox bug 1917879 and Firefox bug 1905364).

APIs

  • The PushManager.supportedContentEncodings static method is now supported for getting the allowed algorithms for encrypting the payload of a push message. (Firefox bug 1497430).
  • {{domxref("AudioParam.value")}} now allows the value to be set even during the time that an automated event is scheduled: previously the operation would silently be ignored at those times. (Firefox bug 1308435).
  • The {{domxref("ReadableStreamBYOBReader.read()")}} method has a new argument options.min that can be used to specify the minimum number of elements to be returned on each call. This might, for example, be used to avoid unnecessary iteration when working with data structures that have a known data size. (Firefox bug 1864406).

DOM

Media, WebRTC, and Web Audio

  • WebRTC simulcast of screen-shared video with the VP8 codec is now supported (simulcast from other video sources has been enabled for a long time). More precisely, {{domxref("MediaStreamTrack")}} objects for screen and window capture (for example, from {{domxref("MediaDevices.getDisplayMedia()")}}), can now be encoded as multiple simulcast layers when using VP8. (Firefox bug 1692873).

WebDriver conformance (WebDriver BiDi, Marionette)

WebDriver BiDi

  • Implemented the browser.getClientWindows command, which allows to retrieve information about the currently opened browser windows (Firefox bug 1855025)
  • Added support for the initiatorType and destination fields to all network events (Firefox bug 1904892 and Firefox bug 1933331). They allow to understand why and how the request was created.
  • The browsingContext.navigationStarted event is no longer emitted when the initial about:blank page is loaded for a new top-level browsing context (Firefox bug 1922014)
  • We fixed a bug where the requestTime of network events would sometimes be set to 0 (Firefox bug 1930849)
  • The browsingContext.traverseHistory command can now only be used with top-level browsing contexts (Firefox bug 1924859)
  • Improved the reliability of commands sent during a navigation, for instance when a browsing context is being replaced (Firefox bug 1927073).

Marionette

  • The Addon:Install and Addon:Uninstall commands are now available for GeckoView (Firefox for Android) (Firefox bug 1806135).
  • The Addon:Install command can now be used to install extensions enabled in Private Browsing mode (Firefox bug 1810718)

Experimental web features

These features are newly shipped in Firefox 134 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.

  • Intl.DurationFormat (Nightly release): {{jsxref("Intl.DurationFormat")}} enables locale-sensitive formatting of durations. (Firefox bug 1648139).
  • autocorrect: <code>dom.forms.autocorrect</code>. The HTML autocorrect attribute and {{domxref("HTMLElement.autocorrect")}} property allow autocorrection in editable text elements, including: most kinds of text {{htmlelement("input")}} elements, {{htmlelement("textarea")}} elements, and elements that have the contenteditable attribute set (Firefox bug 1725806).