MDN self-hosted library · e01.org

Firefox 62 release notes for developers

This article provides information about the changes in Firefox 62 that will affect developers. Firefox 62 was released on September 5, 2018.

no runnable cells firefox-release-notes upstream source

This article provides information about the changes in Firefox 62 that will affect developers. Firefox 62 was released on September 5, 2018.

Changes for web developers

Developer tools

bash :screenshot <filename.png> --fullpage

where <filename.png> is the desired filename. The file will be saved to your downloads folder. The --fullpage parameter is optional, but if included, it will save the full web page. This option also adds -fullpage to the name of the file. For a list of all options available for this command, enter: :screenshot --help

Removals

  • The Developer Toolbar/GCLI (accessed with Shift + F2), has been removed from Firefox (Firefox bug 1461970). Both the Developer Toolbar UI and the GCLI upstream library have become unmaintained, some of its features are broken (some ever since e10s), it is blocking the unsafeSetInnerHTML work, usage numbers are very low, alternatives exist for the most used commands.

HTML

No changes.

CSS

Removals

  • All XUL display values with the exception of -moz-box and -moz-inline-box have been removed from non-XUL documents in Firefox bug 1288572.

SVG

No changes.

JavaScript

Removals

  • The DOMPoint and DOMPointReadOnly constructors no longer support an input parameter of type DOMPointInit; the values of the properties must be specified using the x, y, z, and w parameters (Firefox bug 1186265).
  • The URL.createObjectURL() method no longer supports creating object URLs to represent a MediaStream. This capability has been obsolete for some time, since you can now set HTMLMediaElement.srcObject to the MediaStream directly (Firefox bug 1454889).

APIs

New APIs

  • The Speech Synthesis API (Text-to-Speech) is now enabled by default on Firefox for Android (Firefox bug 1463496).

DOM

  • The DOMPointReadOnly interface now supports the static function DOMPointReadOnly.fromPoint(), which creates a new point object from a dictionary that's compatible with DOMPointInit, which includes any DOMPoint object. This function is also available on DOMPoint (Firefox bug 1186265).
  • For compatibility purposes, the Event.srcElement property is now supported. It is an alias for Event.target (Firefox bug 453968).
  • Navigator.registerProtocolHandler() now must only be called from a secure context (Firefox bug 1460506).
  • The Navigator.registerContentHandler() method has been disabled by default in preparation for being removed entirely, as it's been obsolete for some time (Firefox bug 1460481).
  • The DataTransfer() constructor has been implemented (Firefox bug 1351193).
  • Document.domain can no longer return null (Firefox bug 819475). If the domain cannot be identified, then domain returns an empty string instead of null.
  • Added the console.timeLog() method to display the current value of a console timer while continuing to track the time (Firefox bug 1458466).
  • Added console.countReset() to reset a console counter value (Firefox bug 1459279).

DOM events

No changes.

Service workers

No changes.

Media, Web Audio, and WebRTC

  • The "media.autoplay.enabled" preference now controls automatic playback of both audio and video media, instead of just video media (Firefox bug 1413098).
  • The ChannelSplitterNode has been fixed to correctly default to having 6 channels with the channelInterpretation set to "discrete" and the channelCountMode set to "explicit", as per the specification (Firefox bug 1456265).

Removals

  • The userproximity and deviceproximity events, as well as the UserProximityEvent and DeviceProximityEvent interfaces, have been disabled by default behind the device.sensors.proximity.enabled preference (Firefox bug 1462308).
  • The devicelight event of type DeviceLightEvent has been disabled by default behind the device.sensors.ambientLight.enabled preference (Firefox bug 1462308).
  • The DOMSubtreeModified and DOMAttrModified mutation events are no longer thrown when the style attribute is changed via the CSSOM (Firefox bug 1460295.
  • Support for CSSStyleDeclaration.getPropertyCSSValue() has been removed (Firefox bug 1408301).
  • Support for CSSValue, CSSPrimitiveValue, and CSSValueList has been removed (Firefox bug 1459871).
  • window.getComputedStyle() no longer returns null when called on a Window which has no presentation (Firefox bug 1467722).

HTTP

Removals

  • The deprecated CSP referrer directive has been removed. Please use the Referrer-Policy header instead (Firefox bug 1302449).

Security

No changes.

Plugins

No changes.

WebDriver conformance (Marionette)

New features

  • Command WebDriver:ElementSendKeys has been made WebDriver conforming for file uploads (Firefox bug 1448792).
  • User prompts as raised by beforeunload events are automatically dismissed for WebDriver:Get, WebDriver:Back, WebDriver:Forward, WebDriver:Refresh, and WebDriver:Close commands (Firefox bug 1434872).
  • WebDriver:PerformActions for Ctrl + Click synthesizes a contextmenu event (Firefox bug 1421323).

API changes

  • Removed obsolete endpoints including getWindowPosition, setWindowPosition, getWindowSize, and setWindowSize (Firefox bug 1348145).
  • WebDriver commands which return success with data null now return an empty dictionary (Firefox bug 1461463).

Bug fixes

Other

No changes.

Changes for add-on developers

API changes

  • Added the webRequest.getSecurityInfo() API to examine details of TLS connections (Firefox bug 1322748).
  • Added the browserSettings.newTabPosition to customize where new tabs open (Firefox bug 1344749).
  • windowTypes has been deprecated in windows.get(), windows.getCurrent(), and windows.getLastFocused() (Firefox bug 1419132).
  • It's now possible to modify a browser action on a per-window basis (Firefox bug 1419893).

Manifest changes

Theme changes

  • New tab_background_separator property of the theme manifest key enables extensions to change the color of the tab separator (Firefox bug 1459455).

Removals

  • Support for unpacked sideloaded extensions has been removed (Firefox bug 1385057).
  • The warning about browser_style displayed when temporarily loading an extension for testing is no longer displayed (Firefox bug 1404724).