Back to Content

Firefox 90 release notes for developers

files/en-us/mozilla/firefox/releases/90/index.md

latest6.4 KB
Original Source

This article provides information about the changes in Firefox 90 that will affect developers. Firefox 90 was released on July 13th, 2021.

[!NOTE] See also Getting lively with Firefox 90 on Mozilla Hacks.

Changes for web developers

Developer Tools

HTML

  • A fix to the way that form payloads are handled around newline normalization and escaping in multipart/formdata. This meets the updated specification, and matches other browser implementations. (Firefox bug 1686765).
  • Firefox now sets an image's {{Glossary("intrinsic size")}} and resolution based on {{Glossary("EXIF")}} information (if present and self-consistent). This allows a server to, for example, send a low-quality placeholder image to speed up loading. It also enables a number of other use cases (Firefox bug 1680387).

CSS

  • -webkit-image-set() has been implemented as an alias of the standard {{cssxref("image/image-set", "image/image-set()")}} function (Firefox bug 1709415).

JavaScript

HTTP

  • The HTTP {{Glossary("Fetch metadata request header", "fetch metadata request headers")}} (Sec-Fetch-*) are now supported. These headers provide servers with additional context about requests, including whether they are same-origin, cross-origin, same-site, or user-initiated, and where/how the requested data is to be used. This allows servers to mitigate against several types of cross-origin attacks (Firefox bug 1695911).

Removals

APIs

DOM

  • Support was added for the deprecated {{DOMxref("WheelEvent")}} properties: WheelEvent.wheelDelta, WheelEvent.wheelDeltaX, and WheelEvent.wheelDeltaY. This allows Firefox to work with a small subset of pages that were broken by recent compatibility improvements to WheelEvent (Firefox bug 1708829).
  • The {{domxref("CanvasRenderingContext2D")}} interface of the Canvas API now provides a {{domxref('CanvasRenderingContext2D.createConicGradient()','createConicGradient()')}} method. This returns a {{domxref('CanvasGradient')}} much like the existing {{domxref('CanvasRenderingContext2D.createLinearGradient()','linear')}} and {{domxref('CanvasRenderingContext2D.createRadialGradient()','radial')}} gradients, but allows a gradient to move around a point defined by coordinates. See Firefox bug 1627014 for more details.
  • Support for the matrix protocol has been added and can now be passed into the {{domxref('Navigator.registerProtocolHandler()')}} method as a valid scheme.

WebDriver conformance (Marionette)

Removals

Changes for add-on developers