Firefox 88 release notes for developers
This article provides information about the changes in Firefox 88 that will affect developers. Firefox 88 was released on April 19, 2021.
Note: See also Never too late for Firefox 88 on Mozilla Hacks.
Changes for web developers
>Developer Tools
- The toggle button for switching between raw and formatted response views has been implemented (Firefox bug 1693147). For examples, see Network request details > Response tab.
HTML
No changes.
CSS
- The
:user-validand:user-invalidpseudo-classes have been implemented (Firefox bug 1694141). - The
image-set()functional notation is now enabled (Firefox bug 1698133), and was made available forcontentandcursorin Firefox bug 1695402 and Firefox bug 1695403. - The default
monospacefont for macOS has been changed to Menlo (Firefox bug 1342741). - The
collapsevalue ofvisibilityis now implemented for ruby annotations (Firefox bug 1697529). - The
alternatevalue forruby-positionhas been implemented, and is the new initial value for the property (Firefox bug 1694748). - The
outlineCSS property has been updated to follow the outline created byborder-radius. As part of this work the non-standard-moz-outline-radiusproperty has been removed. (Firefox bug 315209 and Firefox bug 1694146.)
Removals
- The
:-moz-submit-invalidpseudo-class has been hidden behind a preference, thereby removing it from web content (Firefox bug 1694129). - Default styling for the non-standard
:-moz-ui-invalidand:-moz-ui-validhas been removed (Firefox bug 1693969).
JavaScript
- Added support for RegExp match indices (Firefox bug 1519483).
Intl.DisplayNames()andIntl.ListFormat()now have stricter checking thatoptionspassed to the constructor are objects, and will throw an exception if a string or other primitive is used instead (Firefox bug 1696881).
HTTP
- FTP has been disabled on all releases (preference
network.ftp.enablednow defaults tofalse), with the intent of removing it altogether in Firefox 90 (Firefox bug 1691890). Complementing this change, the extension settingbrowserSettings.ftpProtocolEnabledhas been made read-only, and web extensions can now register themselves as protocol handlers for FTP (Firefox bug 1626365).
Security
No changes.
APIs
DOM
- Code can now use the new static method
AbortSignal.abort()to return anAbortSignalthat is already set asaborted(Firefox bug 1698468).
WebDriver conformance (Marionette)
- Marionette will no longer be enabled unless the
--marionettecommand line argument or theMOZ_MARIONETTEenvironment variable is specified. As such themarionette.enabledpreference is no longer used. With this change the state ofnavigator.webdrivernow correctly reflects the enabled state of Marionette (Firefox bug 1593343). - Fixed a bug where pointer actions other than
downandupinappropriately led to buttons being pressed (Firefox bug 1686361). - Fixed a race condition in
WebDriver:GetCurrentURLthat could have led the command to return the URL of the previously opened page, or even a hang in Marionette (Firefox bug 1664881).
Changes for add-on developers
urlcan now be used to limit the properties for which thetabs.onUpdatedevent is triggered (Firefox bug 1680279).