Firefox 30 release notes for developers
Firefox 30 was released on June 10th, 2014. 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.
Firefox 30 was released on June 10th, 2014. 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
Developer Tools
- A Box Model Highlighter has been implemented (Firefox bug 663778).
- Anywhere a DOM node appears in the console output, it is highlighted when you hover over that console output (Firefox bug 757866). Similarly all JS functions and objects are highlighted in the console output (Firefox bug 584733). More information about the console improvement can be found in this blog post.
- Support for console.count() has been added (Firefox bug 922208).
CSS
- The property background-blend-mode has been enabled by default (Firefox bug 970600).
- The non-standard
overflow-clip-boxproperty has been implemented for use in UA stylesheets only (Firefox bug 966992). - The line-height property now affects single-line text inputs (
<input type=text|password|email|search|tel|url|unknown>types) although it cannot shrink them below a line height of1.0(Firefox bug 349259). - The line-height property now also affects
type=button, with no restrictions (Firefox bug 697451). - Change to keyframes' name does not affect current elements (Firefox bug 978648).
- positioned internal table elements not abs pos containing block(relative position for table rows) (Firefox bug 63895).
HTML
No change.
JavaScript
- New ES2015-compatible array comprehensions
[for (item of iterable) item]and generator comprehensions(for (item of iterable) item)have been implemented (Firefox bug 979865). - Typed arrays are now extensible and support new named properties (Firefox bug 695438).
- The Error.prototype.stack property now contains column numbers (Firefox bug 762556) and has been improved when using
Function()andeval()calls. This can help you to better debug minified or generated JavaScript code. - The
Promise.cast()method has been renamed to Promise.resolve() (Firefox bug 966348).
Interfaces/APIs/DOM
- Navigator.sendBeacon has been implemented, easing telemetry collection (Firefox bug 936340).
- Added a
relListproperty returning a DOMTokenList to HTMLLinkElement, HTMLAreaElement and HTMLAnchorElement (Firefox bug 968637). - As per the latest specification, the first argument of AudioScheduledSourceNode.start and AudioScheduledSourceNode.stop is now optional and defaults to
0(Firefox bug 982541). - The method
Navigator.requestWakeLock()and the non-standardMozWakeLockare no longer available from the Web on Desktop (Firefox bug 963366). - The
DOM_VK_ENTERconstant has been removed from KeyboardEvent (Firefox bug 969247). - Web components'
Document.register()has been adapted to follow the behavior described in the latest version of the specification (Firefox bug 856140). - The non-standard, and deprecated since Firefox 15,
Blob.mozSliceis no longer supported (Firefox bug 961804). - The non-standard
ArchiveReaderandArchiveRequestare no longer exposed to the Web (Firefox bug 968883). - WebIDL constructors cannot be called as functions anymore. They need to be preceded by the keyword
new. (Firefox bug 916644) - Added support for a new value (
alpha) for the second, optional, parameter of the HTMLCanvasElement.getContext() method allowing you to define if alpha blending must be stored or not for this context. When not, the per-pixel alpha value in this store is always1.0. This allows the back-end to implement a fast-track. (Firefox bug 982480) WorkerGlobalScope.consolenow returns for the regular console;WorkerConsolehas been removed (Firefox bug 965860).- The WEBGL_debug_shaders WebGL extension has been implemented (Firefox bug 968374).
MathML
No change.
SVG
- feDropShadow, and its interface SVGFEDropShadowElement, from the Filter Effects Module are now supported (Firefox bug 964200).
Audio/Video
- On Linux, GStreamer 1.0 is now supported (instead of 0.10) (Firefox bug 806917).
Security
<form autocomplete="off">no longer prevents passwords from being saved. See Managing autofill for login fields for more information. (Firefox bug 956906).
Changes for add-on and Mozilla developers
- The interface
nsIDOMWindowUtilsnow supports the Boolean attributeaudioMutedandaudioVolume, a float in the range[0.0 , 1.0], allowing you to control the sound produced by a window (that is any tab or iframe). There is no UI for this, but is available to add-ons. (Firefox bug 923247)