Back to Content

Firefox 119 release notes for developers

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

latest7.7 KB
Original Source

This article provides information about the changes in Firefox 119 that affect developers. Firefox 119 was released on October 24, 2023.

Changes for web developers

HTML

Removals

  • The {{HTMLElement('input')}} element no longer supports the non-standard mozactionhint attribute. Use enterkeyhint instead. (See Firefox bug 1735980 for more details.)

CSS

  • The {{cssxref("attr")}} CSS function fallback value is now supported. This allows the setting of a fallback value to be used if the global attribute is missing (Firefox bug 1448248).

JavaScript

  • The {{jsxref("Object.groupBy()")}} and {{jsxref("Map.groupBy()")}} static methods for grouping the elements of an iterable are now supported (See Firefox bug 1792650 for more details.)
  • The {{jsxref("String.prototype.isWellFormed()")}} and {{jsxref("String.prototype.toWellFormed()")}} methods respectively can be used to check if a string contains well-formed Unicode text (i.e., contains no lone surrogates) and sanitize an ill-formed string to well-formed Unicode text. (See Firefox bug 1850755 for more details).

SVG

  • The SVG attributes that accept a <length> value now support level 3 {{cssxref("length")}} CSS data types for all SVG elements. This enables the sizing of SVG elements based on font sizes (cap, rem, etc.), viewport (vh, vw, vmin, etc.), or absolute lengths (px, cm, etc.), e.g., <line x1="10vw" y1="10vh" x2="50vw" y2="50vh"/>. (See Firefox bug 1287054 for more details).

HTTP

  • The credentialless directive of the {{HTTPHeader("Cross-Origin-Embedder-Policy")}} HTTP response header is now supported on desktop platforms (and mobile platforms other than Android), allowing no-cors requests for resources to be made on cross-origin servers that have not explicitly opted into it, albeit without cookies or other credentials (Firefox bug 1851467).

APIs

DOM

  • ARIA reflection is now supported by default for attributes that do not reference other elements; only non-ID-reference attributes are reflected. You can now get and set ARIA attributes on DOM elements directly via JavaScript APIs, rather than by using setAttribute and getAttribute. For example, buttonElement.ariaPressed = "true"; is now supported in addition to buttonElement.setAttribute("aria-pressed", "true"); (Firefox bug 1785412).

WebDriver conformance (WebDriver BiDi, Marionette)

General

  • When performing a pointerDown action with the middle or right mouse button pressed, the mousedown event as emitted by the related HTML element had the value of the buttons property swapped (Firefox bug 1850086).

  • When performing a scroll action of input type wheel with an origin set to pointer an invalid argument error was inappropriately raised, whereas per the current WebDriver specification this combination is not supported (Firefox bug 1850166).

WebDriver BiDi

Marionette

  • The list of possible error codes when trying to install a WebExtension by using the Addon:Install command has been updated to match the latest error codes of Firefox (Firefox bug 1852537).