Firefox 56 was released on September 28, 2017. This article lists key changes that are useful for web developers.
Changes for Web developers
- Display Negative Line Numbers in CSS Grid Inspector (bug 1369942).
- The new CSS Grid Layout Panel is now available, allowing much better CSS Grid debugging facilities (bug 1181227). See Powerful New Additions to the CSS Grid Inspector in Firefox Nightly for more details.
- Implemented the
labelsproperty for labelable form controls, for example
<link rel="preload">; see Preloading content with rel="preload" for more details (bug 1222633). Note that currently Firefox only supports preloading of cacheable resources.
- Implemented the proprietary Mozilla-specific
-moz-win-accentcolortext(see bug 1344910), and the proprietary media query
-moz-windows-accent-color-in-titlebar(see bug 1379938).
- On Mac,
Document.hiddenis now true when the window is behind another non-translucent application bug 1236512.
Gamepad.displayIdproperty has been implemented (bug 1375816).
PerformanceTiming.secureConnectionStartproperty has been implemented (bug 772589).
- Firefox used to accept
iso-2022-jp-2sequences silently when an
TextDecoder()was instantiated, however this has now been removed to simplify the API, as no other browsers support it and no pages seem to use it. (bug 715833).
- The 4ms clamping behaviour of
setInterval()has been updated to be more in line with other browsers, as described in Timeouts throttled to >=4ms (bug 1378586).
- The Page Visibility API's
Document.onvisibilitychangehandler has been added (bug 1333912).
Window.showModalDialog()method has been removed (bug 981796).
Media and WebRTC
- Firefox now supports the
RTCPeerConnectionproperties which let you examine the current and pending configurations of the local and remote ends of the connection, to help manage changes in configuration:
- Hardware encoding of media is now enabled by default on Android; it was available but disabled by default in Firefox 55 (bug 1386974). This supports higher-efficiency encoding of VP8 media on devices that provide support for it. This saves battery life and processor power, generally improving the performance of the user's device.
Canvas and WebGL
CanvasRenderingContext2D.drawImage()method has been updated so that smoothing occurs when downscaling even if
false. This is not mandatory as per spec, but follows Chrome's behaviour. See bug 1360415.
SVGImageElementcan now be used as a
CanvasImageSource, e.g. as the image source in a
drawImage()call (bug 1382027).
- Firefox for Android has removed all support for plugins (bug 1381916).
- Gecko now encodes URLs internally as punycode, to avoid URL encoding problems (see bug 945240, also see discussion in bug 942074).
- Firefox on Windows and Mac OS X can now be made to run in headless mode using the
-headlessflag (see bug 1355150 and bug 1355147).
Removals from the web platform
<isindex>element has been removed from the HTML parser, and from form submission (bug 1266495).
<applet>element has been removed (bug 1279218).
Changes for add-on and Mozilla developers
- browsingData.RemovalOptions gets "hostnames" option for cookies
- browsingData.settings() and browsingData.removeCookies() are now supported on Firefox for Android
- browser_style usage is changed
- contextMenus renamed to menus
- cookies.set() and cookies.remove() now work in private browsing mode
- downloads.open() can now only be called from a user action
- FindProxyForURL "DIRECT" return type no longer takes an argument
- history.onVisited now includes the page title if it is known.
- management.get() and management.getAll()
- menus now supports the "tools_menu" context
- menus.OnClickData now has "linkText"
- menus.create() now has an "icons" option
- pageAction.show() and pageAction.hide() are now supported on Firefox for Android
- permissions now supports "unlimitedStorage"
- privacy.services now includes passwordSavingEnabled
- protocol_handlers now supports "gopher"
- proxy.registerProxyScript() is renamed to proxy.register()
- runtime.onInstalled gets
- tabs.print(), tabs.PageSettings, tabs.printPreview(), tabs.saveAsPDF()
- windows.create() and windows.update() now support prefacing window title
- Firefox 55 for developers
- Firefox 54 for developers
- Firefox 53 for developers
- Firefox 52 for developers
- Firefox 51 for developers
- Firefox 50 for developers
- Firefox 49 for developers
- Firefox 48 for developers
- Firefox 47 for developers
- Firefox 46 for developers
- Firefox 45 for developers
- Firefox 44 for developers
- Firefox 43 for developers
- Firefox 42 for developers
- Firefox 41 for developers
- Firefox 40 for developers
- Firefox 39 for developers
- Firefox 38 for developers
- Firefox 37 for developers
- Firefox 36 for developers
- Firefox 35 for developers
- Firefox 34 for developers
- Firefox 33 for developers
- Firefox 32 for developers
- Firefox 31 for developers
- Firefox 30 for developers
- Firefox 29 for developers
- Firefox 28 for developers
- Firefox 27 for developers
- Firefox 26 for developers
- Firefox 25 for developers