Firefox 82 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

HTML

CSS

Removals

HTTP

  • The Content-Disposition header's inline directive will now be ignored if the HTML <a> element's download attribute is specified (for same-origin URLs). Note that if specified the Content-Disposition header filename will be used in preference to a filename specified in the download attribute (bug 1658877).

APIs

New APIs

DOM

  • Document.execCommand() is no longer supported for nested/recursive calls, which will now return false (bug 1634262).
  • Element.setPointerCapture() throws the NotFoundError exception if the pointer id is invalid, as per the specification (bug 1662124). Previously it wrongly threw an InvalidPointerId exception.
  • The window.name property 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 use window.name for cross-domain messaging (bug 444222).

Changes for add-on developers

  • The tabs.captureTab() and tabs.captureVisibleTab() methods now capture an area of the relevant tab's content specified by the rect property of the provided options object, or the visible area of the tab if this property is not provided (bug 1636508). Previously the rect property was not available, and these methods always captured the visible area of the relevant tab.

See also

Older versions