Firefox 82 release notes for developers
This article provides information about the changes in Firefox 82 that will affect developers. Firefox 82 was released on October 20, 2020.
Note: See also Coming through with Firefox 82 on Mozilla Hacks.
Changes for web developers
>Developer tools
- You can now inspect server-sent events using the Network Monitor (Firefox bug 1640857).
- The Network Monitor's Message panel has now been merged with the Response panel — messages (e.g., from WebSockets or server-sent events) can now be viewed right below the responses list (Firefox bug 1636421).
HTML
- The color picker used for
<input type="color">is now keyboard-accessible on Windows (Firefox bug 1526820). - The
allow-downloadsflag for the<iframe sandbox>attribute is now supported (Firefox bug 1656212).
CSS
- Support for the new
::file-selector-buttonpseudo-element has been added. This pseudo-element represents the file selection button inside an<input type="file">element (Firefox bug 1635675, Firefox bug 1662478). - We have improved error recovery for the
:is()and:where()pseudo-classes. These pseudo-classes now accept a forgiving selector list, where an invalid selector in the list will not render the entire list invalid (Firefox bug 1664718). appearance: buttonnow applies only to buttons; thebuttonvalue ofappearancewill otherwise behave asauto(Firefox bug 1662703).
Removals
- We have removed the proprietary
:-moz-user-disabledpseudo-class (Firefox bug 1664432).
HTTP
- The
Content-Dispositionheader'sinlinedirective will now be ignored if the HTML<a>element'sdownloadattribute is specified (for same-origin URLs). Note that if specified theContent-Dispositionheaderfilenamewill be used in preference to a filename specified in thedownloadattribute (Firefox bug 1658877).
APIs
New APIs
- The Media Session API is now enabled by default (Firefox bug 1665496).
DOM
Document.execCommand()is no longer supported for nested/recursive calls, which will now returnfalse(Firefox bug 1634262).Element.setPointerCapture()throws theNotFoundErrorexception if the pointeridis invalid, as per the specification (Firefox bug 1662124). Previously it wrongly threw anInvalidPointerIdexception.- The
window.nameproperty is reset to an empty string if a tab loads a page from a different domain, and restored if the original page is reloaded (e.g., via the "back" button). This prevents an untrusted page from accessing any information that the previous page might have stored in the variable. This change may impact frameworks that usewindow.namefor cross-domain messaging (Firefox bug 444222).
WebDriver conformance (Marionette)
- To simulate a more realistic user navigation, all supported navigation commands have been moved to the parent process (Firefox bug 1612831).
- We updated the checks for the current or top-level browsing context for all the commands to improve conformance with the WebDriver specification (Firefox bug 1493108).
- Fixed a bug in
WebDriver:ElementClickthat sometimes caused the command to return before the click event was actually synthesized (Firefox bug 1394354).
Changes for add-on developers
- The
tabs.captureTab()andtabs.captureVisibleTab()methods now capture an area of the relevant tab's content specified by therectproperty of the providedoptionsobject, or the visible area of the tab if this property is not provided (Firefox bug 1636508). Previously therectproperty was not available, and these methods always captured the visible area of the relevant tab. - Read-only access to
cookieStoreIdno longer requires the"cookies"permission (Firefox bug 1662329).