Firefox 111 release notes for developers
This article provides information about the changes in Firefox 111 that affect developers. Firefox 111 was released on March 14, 2023.
Changes for web developers
>HTML
- The
autocapitalizeglobal attribute is now supported by default. The default value for the attribute isnone, so no capitalization occurs (Firefox bug 1692007). - The
translateglobal attribute is now supported (Firefox bug 1418449).
CSS
- CSS color functions
color(),lab(),lch(),oklab(), andoklch()are now supported. These features are disabled by default and can be enabled by setting the preferencelayout.css.more_color_4.enabledto true. For more information, see the CSS color value documentation (Firefox bug 1352757 and Firefox bug 1128204).
JavaScript
No notable changes.
SVG
- The
context-strokeandcontext-fillvalues are now supported inside<marker>elements. For more information on using these values withfillandstrokeproperties, see the<marker>documentation (Firefox bug 752638).
HTTP
- The HTTP
Authorizationheader is removed from cross origin redirects. See Firefox bug 1802086 for more details.
APIs
- Origin private file system (OPFS) is now supported when using the File System API.
The data in this file system is origin-specific: permission prompts are not required to access files, and clearing data for the site/origin deletes the storage.
The OPFS is accessed with the
StorageManager.getDirectory()method, by callingnavigator.storage.getDirectory()in a worker or the main thread. See Firefox bug 1785123 for more details. - The HTTP
Authorizationheader is removed fromfetch()andXMLHttpRequestrequests that are redirected cross-origin (fetch()headers may be added by developers using theoption.headersargument). See Firefox bug 1802086 for more details. - The
nonevalue of theoptions.imageOrientationparameter passed toWindow.createImageBitmap()andWorkerGlobalScope.createImageBitmap()has been renamed tofrom-image. This is to better match the meaning of the equivalent CSSimage-orientationproperty. (Firefox bug 1809740).
DOM
- The
FormDataconstructor now accepts a second optionalsubmitterparameter to specify a submit button. If the button has a name or is an image button, it will contribute to the form data set. This makes it possible to create aFormDataobject with the same data set as a vanilla form submission triggered by the button. See Firefox bug 1812696 for more details.
Media, WebRTC, and Web Audio
RTCInboundRtpStreamStats.trackIdentifieris now supported. This allows developers to associateinbound-rtpstatistics with a particular track when usingRTCPeerConnection.getStats(). (For more information see Firefox bug 1804676.)
WebDriver conformance (WebDriver BiDi, Marionette)
WebDriver BiDi
- Changed the behaviors for handling stale elements checks based on recently updated WebDriver classic specification. See Firefox bug 1808894 for more details.
Marionette
- Fixed an issue where returning a ShadowRoot from
WebDriver:ExecuteScriptcauses acyclic object valueerror. See Firefox bug 1764594 for more details.
Changes for add-on developers
matchDiacriticshas been added to theFind.findAPI. This option enables searches to distinguish between accented letters and their base letters. For example, when set totrue, searching for "résumé" does not find a match for "resume" Firefox bug 1680606.search.queryhas been added, providing search API compatibility with Chromium-based browsers Firefox bug 1804357.- The
dispositionproperty has been added tosearch.search, enabling results to be displayed in a new tab or window Firefox bug 1811274.