Firefox 24 release notes for developers
Firefox 24 was released on September 17, 2013. This article lists key changes that are useful not only for web developers, but also Firefox and Gecko developers as well as add-on developers.
Changes for Web developers
>CSS
- The two values
-moz-zoom-inand-moz-zoom-outof thecursorproperty have been unprefixed tozoom-inandzoom-out(Firefox bug 772153). - To match the specification, the keywords
not,only,and, andorcannot be used as media types anymore (Firefox bug 757554).
HTML
- The
<track>element has been implemented behind themedia.webvtt.enabledpreference, and is disabled by default. (Firefox bug 833385).
JavaScript
- Arrow functions are no longer automatically in strict mode unless explicitly requested with
"use strict"(Firefox bug 852762). - The
String.prototype.repeatJS method has been implemented (Firefox bug 815431). - The
Set.prototype.values(),Set.prototype.keys()andSet.prototype.entries()methods onSetobjects have been implemented (Firefox bug 869996).
DOM
- Support for the
Range()constructor has been added (Firefox bug 868999). - Support for the
Text()constructor has been added (Firefox bug 869000). - Support for the
Comment()constructor has been added (Firefox bug 869006). - Support for the
DocumentFragment()constructor has been added (Firefox bug 869002). - The
FocusEventinterface has been implemented (Firefox bug 855741). - Support for the
ChildNode.remove()method has been added (Firefox bug 856629). - The WebVTT interfaces related to the
<track>element,HTMLTrackElement,TextTrack,TextTrackCue,TextTrackList, andTextTrackCueListhave been implemented behind themedia.webvtt.enabledproperty, defaulting tofalse(Firefox bug 833385). - The
Gamepadinterface, andNavigator.getGamepadshave been implemented behind thedom.gamepad.enabledproperty, defaulting tofalse(Firefox bug 690935). - On desktop Firefox only,
HTMLCanvasElement.getContext()can now take thewebglvalue, in addition toexperimental-webgl(Firefox bug 870232). - The non-standard method
mozLoadFrom()ofHTMLMediaElementhas been removed (Firefox bug 877135).
Developer Tools
- The Network inspector now lets you filter by content type (CSS/image/font etc.) and see the relevant size and load times.
- The DevTools options panel to the left lets you disable/enable JavaScript temporarily.
- Extension developers may use the new Browser Console for Chrome-level scripts (Replaces Error Console).
- The source map syntax has been changed to use
//#instead of//@(Firefox bug 870361).
MathML
- The
dirattribute for controlling directionality of formulas on e.g.,<math>or<mrow>elements is now equivalent to using thedirectionCSS property. - The equal sign ("=") is now stretchable.
- The
"updiagonalarrow"value for thenotationattribute on<menclose>elements has been added.
Changes for add-on and Mozilla developers
- Doc Shells have now the
allowMediaattribute to disable media playing (Firefox bug 759964). - Sherlock search plugins in the application directory or profile won't be loaded anymore (Firefox bug 862143).