Firefox 27 release notes for developers
Firefox 27 was released on February 4, 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
- Breakpoints can now be set on DOM events.
- JavaScript in the debugger panel can be unminified, using the { } button.
- The inspector now has an "edit-element-html" feature, without needing an add-on.
- Background-URLs and colors have preview in inspector. Even hovering over canvas elements will give a pop-up with an image preview.
- Reflow logging has been added.
- Styles of SVG elements are now inspectable (Firefox bug 921191).
- Failure to find the image when clicking URL link in CSS inspector has been fixed (Firefox bug 921686).
- The
X-SourceMapheader is now supported (Firefox bug 765993).
More details in this post.
CSS
- The
-moz-graband-moz-grabbingkeywords on the CSScursorproperty have been unprefixed tograbandgrabbing(Firefox bug 880672). - Support for the
-moz-hsla()and-moz-rgba()functional notations has been dropped. Only the unprefixed versions,hsla()andrgba()are supported from now on (Firefox bug 893319). - The
truevalue fortext-alignhas been added (Firefox bug 929991). - Experimental support of
position:stickyis now active by default on non-release builds (Firefox bug 902992). For releases builds, thelayout.css.sticky.enabledpreference still needs to be set totrue. - The
allshorthand property has been added (Firefox bug 842329). - The
unsetglobal value has been added; it allows to reset any CSS property (Firefox bug 921731). - Curly braces are no longer allowed in HTML
styleattributes: doing<div style="{ display: none }">was working in quirks mode, but won't anymore Firefox bug 915053. - The
overflowproperty now works on<fieldset>(Firefox bug 261037).
HTML
- The
colorvalue of the<input>typeattribute has been implemented on desktop platforms. It was already available on mobile ones. - The
allow-popupsdirective is now supported with thesandboxattribute of the<iframe>element (Firefox bug 766282). - Blending of HTML elements using the
mix-blend-modeproperty has been implemented. Thelayout.css.mix-blend-mode.enabledpreference must be set totrue(Firefox bug 902525). - The
typeMustMatchproperty of the<object>element is now supported (Firefox bug 827160).
JavaScript
ECMAScript 2015 implementation continues!
- The spread operator is now supported in Function calls (Firefox bug 762363).
- The mathematical function
Math.hypot()has been implemented (Firefox bug 896264). - The
yield*expression is now implemented (Firefox bug 666396). - The
MapIterator,SetIteratorandArrayIteratorobjects now match the specification (Firefox bug 881226). - for...of loops now expect the ES2015 standard iterator protocol moving away from SpiderMonkey old iterator protocol using
StopIteration. String.matchandString.replacenow resetRegExp.lastIndex(Firefox bug 501739).
Interfaces/APIs/DOM
- Support for the two
setRange()methods on theHTMLInputElementinterface has been added (Firefox bug 850364). - Support for the two
setRange()methods on theHTMLTextAreaElementinterface has been added (Firefox bug 918940). - The methods
getAllKeys()andopenKeyCursor()have been added toIDBObjectStore(Firefox bug 920633 and Firefox bug 920800). - The
HTMLFormControlsCollectioninterface has been implemented (Firefox bug 913920). - The
CanvasRenderingContext2Dinterface now supports the two methodsgetLineDash()andsetLineDash()and thelineDashOffsetproperty (Firefox bug 768067). - The
typeMustMatchattribute has been implemented on theHTMLObjectElementinterface (Firefox bug 827160). - The
copyFromChannel()andcopyToChannel()methods have been added toAudioBuffer(Firefox bug 915524). Event.isTrusted()is now unforgeable (Firefox bug 637248).- The WebRTC API's
RTCIceCandidateobject now includes atoJSON()method to help with signaling and debugging (Firefox bug 928304). - The
Navigator.vibrate()method has been adapted to match the final specification: It now returnsfalsewhen the list is too long or has too large entries, instead of throwing (Firefox bug 884935). - As part of the ongoing effort to standardize global objects, the non-standard stylesheet change event interfaces, including
StyleRuleChangeEvent,StyleSheetApplicableStateChangeEventandStyleSheetChangeEvent, are no longer available from Web content. TheCSSGroupRuleRuleListinterface, the implementation detail ofCSSRuleList, has also been removed (Firefox bug 872934 and Firefox bug 916871). Window.atob()now ignores whitespaces (Firefox bug 711180).- WebGL:
MOZ_prefixed extension strings are deprecated. Support for them will be removed in the future. Use unprefixed extension string only. To get draft extensions, set thewebgl.enable-draft-extensionspreferences (Firefox bug 924176).
MathML
No change.
SVG
- Blending of SVG elements using the
mix-blend-modeproperty has been implemented. Thelayout.css.mix-blend-mode.enabledpreference must be set totrue(Firefox bug 902525).
Changes for addon and Mozilla developers
- The
downloads-indicatorbutton has gone away. You should now use thedownloads-buttonelement. If you need to check that it has loaded its overlay, check for theindicatorattribute on that button. - The
chrome://browser/skin/downloads/indicator.cssstylesheet is no longer referenced in Firefox.
Security
- TLS 1.2 has been implemented for improved security (Firefox bug 861266).
See also
- List of changes in Marionette for Firefox 27.