To test the latest developer features of Firefox,
install Firefox Developer Edition {{ReleaseChannelInfo("45", "45", "March 2016", "Beta")}}
Changes for Web developers
Developer Tools
{{page('/en-US/docs/Tools/Release_notes', 'Firefox_45')}}
HTML
- Content Security Policy can now be set directly on the {{HTMLElement("meta")}} element ({{bug(663570)}}).
- The attribute
referrer
has been renamedreferrerpolicy
on {{HTMLElement("img")}}, {{HTMLElement("area")}}, {{HTMLElement("a")}}, and {{HTMLElement("iframe")}} ({{bug(1187357)}}). - Changes in the viewport, or a resize, now trigger the reselection of responsive images for
<img srcset>
({{bug(1166138)}}).
CSS
- {{cssxref("word-spacing")}} now allows percentage values ({{bug(1038663)}}).
- Our implementation of CSS Grids has been improved and is no more considered experimental; it is now activated by default in nightly and developer edition, but not for beta and release ({{bug(1000592)}}):
- Gutters, that is the {{cssxref("grid-column-gap")}}, {{cssxref("grid-row-gap")}}, and {{cssxref("grid-gap")}} properties are now supported ({{bug(1176792)}}).
- The implied minimum size of grid Items, that is the special {{cssxref("min-width")}} and {{cssxref("min-height")}}
auto
behavior has been implemented ({{bug(1176775)}}). - {{cssxref("align-self")}} and {{cssxref("justify-self")}} are now supported on grid layouts ({{bug(1151213)}}).
- {{cssxref("align-content")}} and {{cssxref("justify-content")}} are now supported on grid layouts ({{bug(1151214)}}).
- Resolved value of grid-template-columns,grid-template-rows in px units ({{bug(978212)}}).
- The related feature {{cssxref("display")}}: contents has been supported since Firefox 37
- Implement full support for CSS Box Alignment for CSS Grid, support the missing values:
start,
end,
self-start,
self-end,
left,
right,last-baseline,space-evenly
({{bug(1176782)}}). CSS Box Alignment currently applies only to CSS Flexbox and CSS Grid. - [css-grid][css-flexbox] Implement grid/flex layout for <fieldset> ({{bug(1230207)}}).
- The
inline-start
andinline-end
values have been added to {{cssxref("float")}} and {{cssxref("clear")}} ({{bug(1122918)}}). They are enabled by default on Nightly and Aurora (Dev edition), as well as on Firefox OS; to activate it on a release or beta version, you need to flip thelayout.css.float-logical-values.enabled
totrue
. - The {{cssxref("text-emphasis")}}, {{cssxref("text-emphasis-style")}}, {{cssxref("text-emphasis-color")}}, and {{cssxref("text-emphasis-position")}} have been implemented; they are disabled by default (set
layout.css.text-emphasis.enabled
to true to activate them ({{bug(1040668)}}). - Multiple changes for
-webkit-
prefix compatibility have been made behind a pref (layout.css.prefixes.webkit
) that is not yet enabled:- Alias
-webkit-transform
related CSS properties ({{bug(1179444)}}). - Support
-webkit-min-device-pixel-ratio
in CSS media queries (nonstandard version of "min-resolution") ({{bug(1176968)}}). - Support
-webkit-box
styling, as aliases for modern CSS flexbox (behind a pref) ({{bug(1208635)}}).
- Alias
JavaScript
- ES2015 (ES6) Classes are now enabled by default ({{bug(1197932)}}).
- {{jsxref("Operators/Expression_closures", "Expression closures", "", 1)}} are deprecated and will now present a warning in the console ({{bug(995610)}}).
- {{jsxref("String.prototype.replace")}} does not restore {{jsxref("Global_Objects/RegExp/n", "RegExp static properties", "", 1)}} after executing function parameter anymore ({{bug(1226936)}}).
- {{jsxref("Math.random()")}} has been updated to the better XorShift128+ algorithm ({{bug(322529)}}).
Interfaces/APIs/DOM
DOM & HTML DOM
- For compatibility, the non-standard property
Node.innerText
has been implemented ({{bug(264412)}}). - The {{domxref("HTMLImageElement.srcset")}} attribute now reacts to resize/viewport changes ({{bug(1166138)}}).
WebGL
Our implementation of WebGL 2 has been extended:
- Support of programs and shaders has been added ({{bug(1048743)}}).
- Support for uniforms and attributes has been added ({{bug(1048745)}}).
- Framebuffer objects have been implemented ({{bug(1048732)}}).
- Renderbuffer objects have been implemented ({{bug(1048733)}}).
IndexedDB
No change.
Service Workers
- {{domxref("Clients.get()")}} and {{domxref("FetchEvent.clientId")}} have been implemented ({{bug(1222464)}}.)
- {{domxref("Clients.openWindow()")}} has been implemented ({{bug(1172870)}}.)
- The options object that can be passed as a parameter when invoking {{domxref("Clients.matchAll()")}} can now include an
includeUncontrolled
property. This is a {{domxref("Boolean")}} — if set totrue
, the matching operation will return all service worker clients who share the same origin as the current service worker. Otherwise, it returns only the service worker clients controlled by the current service worker. The default isfalse
.
WebRTC
No change.
New APIs
No change.
Miscellaneous
- Web Speech Synthesis API has been implemented on Firefox Desktop ({{bug(1003439)}}).
- The {{domxref("Window.onstorage")}} event handler property has been added.
- The interface {{domxref("ComputedTiming")}} have been added to our experimental implementation of Web Animations API ({{bug(1108055)}}).
- The {{domxref("Document.onselectionchange")}} event handler property has been added ({{bug(1231193)}}).
- After removing a video track from a media stream by calling {{domxref("MediaStream.removeTrack()")}} you can nowadd another video track later using {{domxref("MediaStream.addTrack()")}} and have it played ({{bug(1223696)}}).
MathML
No change.
SVG
- SVG stroke hit-testing is buggy when cairo is the Moz2D backend ({{bug(676001)}}).
- Unable to interact with elements who have large transform / translate values ({{bug(1217012)}}).
Audio/Video
- Fixed: Regression (since Firefox 41) whereby audio playback was stuttering due to duration time rounding errors ({{bug(1222866)}}.)
HTTP
- The
jar:
protocol has been disabled by default when accessed from Web content; you may enable this if necessary by setting the {{pref("network.jar.block-remote-files")}} preference tofalse
({{bug(1215235)}}).
Networking
No change.
Security
- Support of the
child-src
CSP policy directive has been implemented ({{bug(1045891)}}). - EV certificates with a validity greater than 27 months are now considered and handled as DV certificates ({{bug(1222903)}}).
Changes for add-on and Mozilla developers
Interfaces
No change.
XUL
- Tab Groups have been removed.
JavaScript code modules
No change.
XPCOM
No change.
Other
- WebIDL constructors could be called without the
new
operator in chrome context. Now such code will raise aTypeError
as in Web content since Firefox 30. For example,var req = XMLHttpRequest();
needs to bevar req = new XMLHttpRequest();
.
See also
Older versions
{{Firefox_for_developers(44)}}