Firefox 98 for developers
This article provides information about the changes in Firefox 98 that affect developers. Firefox 98 was released on March 8, 2022.
Changes for web developers
HTML
- The HTML
<dialog>
element is now available by default. This element and its associated DOM APIs provide support for HTML-based modal dialog boxes (Firefox bug 1733536).
CSS
- The
hyphenate-character
property sets a string that is used instead of a hyphen character (-
) at the end of a hyphenation line break (Firefox bug 1751024).
JavaScript
No notable changes
APIs
navigator.registerProtocolHandler()
can now register protocol handlers for theftp
,sftp
, andftps
schemes (Firefox bug 1705202).
DOM
HTMLElement.outerText
is now supported (Firefox bug 1709790).- The properties
colorSpaceConversion
,resizeWidth
andresizeHeight
can be passed to the methodWindow.createImageBitmap()
andWorkerGlobalScope.createImageBitmap()
using theoptions
object (Firefox bug 1748868 and Firefox bug 1733559). ElementInternals
now has new form-associated custom element methods and properties that allow custom elements to interact with a form. These include theform
,labels
andwillValidate
properties, and thesetFormValue()
method. (Firefox bug 1556362, Firefox bug 1556373, Firefox bug 1556365, Firefox bug 1556449).
Removals
- The deprecated WebVR API is now disabled by default on all builds (previously it was enabled on Windows, macOS, and all nightly/dev builds).
It can be re-enabled in
about:config
by settingdom.vr.enabled
totrue
(Firefox bug 1750902).
WebDriver conformance (Marionette)
- Improved initial page load checks for newly opened tabs (Firefox bug 1747359).
Changes for add-on developers
- Web extensions using
webRequest
were started early during Firefox startup. This has changed to only trigger early start-up for extensions usingwebRequest
blocking calls. Non-blocking calls no longer cause the early startup of an extension. (Firefox bug 1749871) cookieStoreId
added touserScripts.register
. This enables extensions to register container-specific user scripts (Firefox bug 1738567).
Older versions
- Firefox 97 for developers
- Firefox 96 for developers
- Firefox 95 for developers
- Firefox 94 for developers
- Firefox 93 for developers
- Firefox 92 for developers
- Firefox 91 for developers
- Firefox 90 for developers
- Firefox 89 for developers
- Firefox 88 for developers
- Firefox 87 for developers
- Firefox 86 for developers
- Firefox 85 for developers
- Firefox 84 for developers
- Firefox 83 for developers
- Firefox 82 for developers
- Firefox 81 for developers
- Firefox 80 for developers
- Firefox 79 for developers
- Firefox 78 for developers
- Firefox 77 for developers
- Firefox 76 for developers
- Firefox 75 for developers
- Firefox 74 for developers
- Firefox 73 for developers
- Firefox 72 for developers
- Firefox 71 for developers
- Firefox 70 for developers
- Firefox 69 for developers
- Firefox 68 for developers
- Firefox 67 for developers