Firefox 113 release notes for developers
This article provides information about the changes in Firefox 113 that affect developers. Firefox 113 was released on May 09, 2023.
Changes for web developers
>HTML
No notable changes.
CSS
- The
color(),lab(),lch(),oklab(),oklch(), andcolor-mix()functional notations are now supported, along with theforced-color-adjustproperty. For more information on the functional notations, see the CSS color value documentation. (Firefox bug 1352753, Firefox bug 1813497, Firefox bug 1818819, Firefox bug 1824526). - The
:nth-child of <selector>syntax allows you to target a group of children based upon theAn+Brule that also matches a defined selector. See (Firefox bug 1808229) for more details. - The
scriptingmedia feature is now supported. See (Firefox bug 1166581) for more details. - The
contentproperty now supports all image type including,<gradient>,image-set()andurl(). See (Firefox bug 1684958) for more details. There is currently an issue with the::beforeand::afterpseudo selectors that means that they don't paint<gradient>s. See (Firefox bug 1832901) for more details.
JavaScript
No notable changes.
APIs
CanvasRenderingContext2D.reset()andOffscreenCanvasRenderingContext2D.reset()are now supported, and can be used to return the associated rendering context to its default state. (Firefox bug 1709347).- The Compression Streams API is now supported.
The interfaces provided by this API are used to compress and decompress data using the
gzipanddeflateformats (Firefox bug 1823619). - The deprecated and non-standard
mozImageSmoothingEnabledproperty is now disabled. See theimageSmoothingEnabledproperty for smoothing in scaled images (Firefox bug 1822955).
Media, WebRTC, and Web Audio
- The AV1 video codec is now enabled on Android. Hardware accelerated decoding is used if supported by the device (Firefox bug 1672276).
- The following WebRTC methods, properties, and dictionaries are now supported:
RTCRtpSender.getCapabilities(),RTCRtpReceiver.getCapabilities(),RTCRtpSender.setStreams(),RTCSctpTransport&RTCPeerConnection.sctp,RTCVideoSourceStats&RTCAudioSourceStats,RTCPeerConnection.connectionState, andRTCPeerConnectionStats. The corresponding bug reports are, respectively: Firefox bug 1531460, Firefox bug 1531461, Firefox bug 1510802, Firefox bug 1278299, Firefox bug 1804678, Firefox bug 1265827, and Firefox bug 1531087.
Removals
- The deprecated and non-standard
CanvasRenderingContext2D.mozTextStyleattribute was permanently removed. This was previously hidden behind a preference. (Firefox bug 1294362). - The deprecated and non-standard attributes
mozRTCPeerConnection,mozRTCIceCandidate, andmozRTCSessionDescriptionwere permanently removed (Firefox bug 1531812).
WebDriver conformance (WebDriver BiDi, Marionette)
WebDriver BiDi
- Added support for serializing
Nodeobjects within a Shadow DOM and theshadowRootproperty onNodeobjects (Firefox bug 1802137). - Added support for cached responses for the
network.responseStartedandnetwork.responseCompletedevents (Firefox bug 1806802 and Firefox bug 1806794). - Fixed an issue where the
browsingContext.domContentLoadedandbrowsingContext.loadevents were missing for navigations usingdocument.open()anddocument.close()(Firefox bug 1822772). - Fixed an issue where the
script.callFunctioncommand was throwing aninvalid argumenterror if an unknown object was passed as an argument, instead of the expectedno such handleerror (Firefox bug 1821039).
Marionette
- The
moz:useNonSpecCompliantPointerOrigincapability is now deprecated and will be fully removed in Firefox 116 (Firefox bug 1824911). - Implemented the
WebDriver:FindElementFromShadowRootandWebDriver:FindElementsFromShadowRootcommands (Firefox bug 1700095). - Implemented the
WebDriver:GetComputedLabelandWebDriver:GetComputedRolecommands (Firefox bug 1585622). - Added support for the
backgroundparameter of theWebDriver:Printcommand (Firefox bug 1783086). - Added support for the
orientationparameter of theWebDriver:Printcommand (Firefox bug 1791819). - Fixed an issue with
DOMTokenListinstances, which are now returned as collections instead of arbitrary objects (Firefox bug 1823464).
Changes for add-on developers
- When an extension registers multiple listeners for the same event, all the event listeners are called when the event page wakes up, instead of only the first one (Firefox bug 1798655).
- Support is now provided for the
declarativeNetRequestAPI (Firefox bug 1782685). - The
gecko_androidsub-key has been added to thebrowser_specific_settingskey. This sub-key enables an extension to specify the range of Firefox for Android versions it is compatible with (Firefox bug 1824237).
Other
- Support for animated AVIF (AV1 Image Format files) images. Previously, they would display as still images with no way for web pages to detect this and fall back to another format. (Firefox bug 1825580).