Firefox 93 release notes for developers
This article provides information about the changes in Firefox 93 that will affect developers. Firefox 93 was released on October 5, 2021.
Note: See also Lots to see in Firefox 93 on Mozilla Hacks.
Changes for web developers
>HTML
- The ARIA
meterrole has been implemented (Firefox bug 1727616). - The UI for
<input type="datetime-local">has been implemented. (Firefox bug 1283388).
CSS
- The
small-capskeyword is now supported for thefont-synthesisproperty (Firefox bug 1706080).
JavaScript
- Class
staticinitialization blocks are now supported, allowing more flexible initialization ofstaticproperties (Firefox bug 1725689). - The properties
imageOrientationandpremultiplyAlphacan be passed to the methodWindow.createImageBitmap()andWorkerGlobalScope.createImageBitmap()using theoptionsobject (Firefox bug 1367251). Intl.supportedValuesOf()is now supported, allowing code to enumerate values supported by an implementation, This might be used, for example, to download a polyfill for just the missing category of values (Firefox bug 1670033).
HTTP
- The SHA-256 algorithm is now supported for HTTP Authentication using digests. This allows much more secure authentication than previously available using the MD5 algorithm (Firefox bug 472823).
- The default HTTP
ACCEPTheader for images changed to:image/avif,image/webp,*/*(following addition of support for the AVIF image format). (Firefox bug 1682995).
APIs
ElementInternals.shadowRootandHTMLElement.attachInternalsare now supported (Firefox bug 1723521).- The value
device-pixel-content-boxis now supported forResizeObserver.Observe()(Firefox bug 1587973). - The
Window.reportError()andWorkerGlobalScope.reportError()is now supported, allowing scripts to report errors to the console or global event handlers, emulating an uncaught JavaScript exception (Firefox bug 1722448).
Events
- The
onsecuritypolicyviolationglobal event handler property is now supported. This can be used to assign a handler for processingsecuritypolicyviolationevents fired when there is a Content Security Policy violation (Firefox bug 1727302). - The
onslotchangeevent handler property is now supported onHTMLSlotElementandShadowRoot. This can be used to assign a handler for processingslotchangeevents, which are fired on<slot>elements when the node(s) contained in the slot change (Firefox bug 1501983).
Removals
KeyboardEvent.initKeyEvent()has been moved behind the preferencedom.keyboardevent.init_key_event.enabledand is disabled by default. The method is not present in any current specification or supported in other current browsers (Firefox bug 1717760).
WebDriver conformance (Marionette)
- Fixed a bug which caused
WebDriver:Printto fail for large documents (Firefox bug 1721982).
Changes for add-on developers
- Sidebars are now included in
extension.getViewswhenwindowIdis specified (Firefox bug 1612390).
Other
- Support for AVIF images is now enabled by default (Firefox bug 1682995). This format has excellent compression and no patent restrictions (it was developed by the Alliance for Open Media). Firefox can display still images, with colorspace support for both full and limited range colors, and image transforms for mirroring and rotation. The preference image.avif.compliance_strictness can be used to adjust the compliance strictness with the specification. Animated images are not supported.