files/en-us/mozilla/firefox/releases/123/index.md
This article provides information about the changes in Firefox 123 that affect developers. Firefox 123 was released on February 20, 2024.
shadowrootmode attribute that allows declarative creation of a shadow DOM subtree. The attribute can be set to either open or closed, which expose or hide JavaScript in the shadow DOM from external code, respectively. These are the same values as the mode option of the {{domxref("Element.attachShadow()", "attachShadow()")}} method. (Firefox bug 1870052)No notable changes.
Date.parse("0") now returns 946684800000 - Sat Jan 01 2000 00:00:00). (Firefox bug 1870434).linearRGB or sRGB via the {{SVGAttr("color-interpolation")}} attribute. This can also be applied to the SVG elements via the {{CSSXref("color-interpolation")}} CSS property.103 Early Hints HTTP informational response status code is now enabled for preloading resources that the page is likely to need while the server is still preparing the full response.
This can significantly reduce page load time.
Note that support for using the 103 Early Hints header for preconnecting was added in Firefox 120.
For more details see Firefox bug 1874445.navigator.credentials.create({publicKey}) can now be called in nested browsing contexts loaded from a different origin to the top-most document, if allowed by a Feature-Policy: publickey-credentials-create on the top level nesting <iframe>.
(Firefox bug 1870863).options.locale parameter to IDBObjectStore.createIndex(), and the IDBIndex properties isAutoLocale and locale.
(Firefox bug 1872675 and Firefox bug 1730706).The IDBLocaleAwareKeyRange interface has been removed (Firefox bug 1730706).
CssLocator (Firefox bug 1855023) and XPathLocator (Firefox bug 1869536).type argument is specified as window (Firefox bug 1875086).DateRemoteValue, where the presence of a non-standard (ISO 8601) date string such as 200009 did not trigger an error (Firefox bug 1872116).context and realm arguments would result in an invalid argument error, rather than simply ignoring the realm argument as intended (Firefox bug 1873688).These features are newly shipped in Firefox 123 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.
Web Codecs API: dom.media.webcodecs.enabled.
The video interfaces of the Web Codecs API are supported on Linux desktop on Nightly.
These include: VideoEncoder, VideoDecoder, EncodedVideoChunk, VideoFrame, VideoColorSpace.
(Firefox bug 1874445).