Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите закончить эту работу!
Changes for Web developers
HTML
- The HTML5
<data>
element has been implemented (bug 839371). - The HTML5
<time>
element has been implemented (bug 629801). - The
range
state of the<input>
element (<input type="range">
) has been implemented, behind the preferencedom.experimental_forms_range
, only enabled by default on Nightly and Aurora channel (bug 841948). - The support for the
<template>
element, part of the Web component specification has been implemented (bug 818976).
JavaScript
- Asm.js optimizations are enabled, making it possible to compile C/C++ applications to a subset of JavaScript for better performance.
- ES6 Arrow Function syntax has been implemented (bug 846406).
- The new Object.is function has been added (bug 839979).
arguments
in generator expressions is now inherited from enclosing lexical scope (bug 848051).- The ES6 Proxy
preventExtensions
trap have been implemented (bug 789897).
DOM
- Support for the
multipart
property onXMLHttpRequest
andmultipart/x-mixed-replace
responses inXMLHttpRequest
has been removed. This was a Gecko-only feature that was never standardized. Server-Sent Events, Web Sockets or inspectingresponseText
from progress events can be used instead. - Support for Web Notifications has been landed (bug 782211).
- The
FormData
append
method now accepts a third optionalfilename
parameter (bug 690659). Node.isSupported
has been removed (bug 801562).Node.setUserData
andNode.getUserData
has been removed for web content and are deprecated for chrome content (bug 842372).- The
Element.attributes
property has been moved there fromNode
as required by the spec (bug 844134). - The Mac OS X backend for
Ambient Light Events
has been implemented. - Elements in the HTML namespace with local names
<bgsound>
,<multicol>
, and<image>
no longer implement theHTMLSpanElement
interface.<bgsound>
and<bgsound>
implementHTMLUnknownElement
and<image>
implementsHTMLElement
. - The
NodeIterator.detach
method has been changed to do nothing (bug 823549). - The
BlobEvent
interface has been implemented (bug 834165). - The properties
HTMLMediaElement.crossorigin
andHTMLInputElement.inputmode
has been removed to match the spec inHTMLMediaElement.crossOrigin
andHTMLInputElement.inputMode
, respectively (bug 847370 and bug 850346). - WebRTC: the Media Stream API and Peer Connection API are now supported by default.
- Web Components: the
Document.register
method has been implemented (bug 783129). - The
ProgressEvent.initProgressEvent()
constructor method has been removed. Uses the standard constructor,ProgressEvent()
to construc and initializeProgressEvent
(bug 843489). - Manipulated data associated with a
cut
,copy
, orpaste
event can now be accessed via theClipboardEvent.clipboardData
property (bug 407983). - The
HTMLTimeElement
interface has been implemented (bug 629801). - When a
Worker
constructor is passed an invalid URL, it now throwsDOMException
of typeSECURITY_ERR
(bug 587251).
CSS
- Support for CSS Flexbox layout has been enabled by default (bug 841876).
- Following a spec change, the initial value for
min-width
andmin-height
has been changed back to0
, even on flex items (bug 848539). - Support for CSS Conditionals (
@supports
andCSS.supports
) has been enabled by default (bug 855455). - Support for
background-clip
andbackground-origin
properties in thebackground
shorthand has been implemented (bug 570896).
Changes for add-on and Mozilla developers
- The
properties
parameter has been removed from thensITreeView.getCellProperties()
,nsITreeView.getColumnProperties()
andnsITreeView.getRowProperties()
methods ofnsITreeView
. These methods should now return a string of space-separated property names. (bug 407956) - The
inIDOMUtils.getCSSPropertyNames()
method has been implemented and will return all supported CSS property names. - See here for more changes.
Firefox Developer Tools
- Font inspector shows which fonts on your computer are applied to the page.
- Visual paint feedback mode shows when and where a page is repainted.
- The dev tools may now be docked to the right side, not just the bottom of the browser.
- Some panes within the dev tools have switched from XUL to HTML. For example, the css rule viewer is now chrome://browser/content/devtools/cssruleview.xhtml, not
cssruleview.xul
. Instead of adding an overlay directly to extend features of these panes, you may add an overlay and script to the outer xul document, to add load listeners and change these html documents. - The stack trace is now shown as a breadcrumb near the top, and the script listing is now at the left panel of the debugger.
See also
Versions
- Firefox 21 for developers
- Firefox 20 for developers
- Firefox 19 for developers
- Firefox 18 for developers
- Firefox 17 for developers
- Firefox 16 for developers
- Firefox 15 for developers
- Firefox 14 for developers
- Firefox 13 for developers
- Firefox 12 for developers
- Firefox 11 for developers
- Firefox 10 for developers
- Firefox 9 for developers
- Firefox 8 for developers
- Firefox 7 for developers
- Firefox 6 for developers
- Firefox 5 for developers
- Firefox 4 for developers
- Firefox 3.6 for developers
- Firefox 3.5 for developers
- Firefox 3 for developers
- Firefox 2 for developers
- Firefox 1.5 for developers