MDN self-hosted library · e01.org

Firefox 25 release notes for developers

ECMAScript 2015 implementation continues!

no runnable cells firefox-release-notes upstream source

Changes for web developers

New in Firefox DevTools

  • The inspector now features autocompletion for CSS names and values.
  • The debugger now lets you "black box" script files, to prevent breakpoints from stopping in library code you're not interested in debugging.
  • The Profiler can now save and import profiling results. "Show Gecko Platform Data" is now an option in the Firefox DevTools options.
  • The Network panel has a right-click context menu, with copy and resend URL commands.
  • Numerous under-the-hood changes may make some rewriting necessary for add-ons that modify the DevTools.

CSS

  • The support for the keyword local as a value of the background-attachment CSS property has been added (Firefox bug 483446).
  • Support for a non-standard Mozilla-only media query to determine the operating system version has been added: -moz-os-version (Firefox bug 810399). The property is currently only implemented on Windows.
  • The -moz-osx-font-smoothing CSS property has been added (Firefox bug 857142).
  • Our experimental support for filter now supports the hue-rotate() functional notation (Firefox bug 897392). It is still disabled by default.
  • page-break-inside: avoid is now working with the height of a block (Firefox bug 883676).

HTML

  • The srcdoc attribute of iframe, allowing the inline specification of the content of an iframe, is now supported (Firefox bug 802895).
  • When used with a "image/jpeg" type, the method HTMLCanvasElement.toBlob now accepts a third attribute defining the quality of the image (Firefox bug 891884).

JavaScript

ECMAScript 2015 implementation continues!

Interfaces/APIs/DOM

  • The Web Audio API is now supported. An incomplete implementation was previously available behind a preference (Firefox bug 779297).
  • Some IME-related keys on Windows are supported by KeyboardEvent.key (Firefox bug 865565), see the key name table for details.
  • Firefox for Metro now dispatches key events in the same way as the desktop version (Firefox bug 843236).
  • keypress event is no longer dispatched if preventDefault() of preceding keydown event is called (Firefox bug 501496).
  • Renamed the Future interface to Promise (Firefox bug 884279).
  • The srcDoc property on the HTMLIFrameElement interface, allowing the inline specification of the content of an iframe, is now supported (Firefox bug 802895).
  • The createTBody() method on the HTMLTableElement interface, allowing retrieval of its tbody, is now supported (Firefox bug 813034).
  • The Range.collapse() method toStart parameter is now optional and defaults to false, as defined in the spec (Firefox bug 891340).
  • Support for the ParentNode mixin on Document and DocumentFragment has been added (Firefox bug 895974).
  • The previousElementSibling and nextElementSibling have been moved to the ChildNode mixin allowing them to be called not only on an Element object but also on a CharacterData or DocumentType object (Firefox bug 895974).
  • The navigator.geolocation property has been updated to match the spec. It never returns null. When the preference geo.enabled is set to false, it now returns undefined (Firefox bug 884921).
  • The videoPlaybackQuality attribute on the HTMLVideoElement interface has been changed to the getVideoPlaybackQuality method. (Firefox bug 889205)
  • The non-standard GlobalObjectConstructor interface has been removed (Firefox bug 898136). This interface was used to add arguments to the constructors of APIs that Firefox add-ons were exposing on the global object. This capability has been removed; note that at this time there's no replacement for this functionality.

MathML

No change.

SVG

No change.