There were scripting errors on this page. While those are being addressed by site editors, you can view partial content below.

To test the latest developer features of Firefox,
install Firefox Developer Edition
Firefox 45 was released on March 8, 2016. 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

HTML

  • Content Security Policy can now be set directly on the <meta> element ({{ bug }}).
  • The attribute referrer has been renamed referrerpolicy on <img>, <area>, <a>, and <iframe> ({{ bug }}).
  • Changes in the viewport, or a resize, now trigger the reselection of responsive images for <img srcset> ({{ bug }}).

CSS

  • word-spacing now allows percentage values ({{ bug }}).
  • 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 }}):
  • 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 }}).  CSS Box Alignment currently applies only to CSS Flexbox and CSS Grid.
  •  [css-grid][css-flexbox] Implement grid/flex layout for <fieldset> ({{ bug }}).
  • The inline-start and inline-end values have been added to float and clear ({{ bug }}). 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 the layout.css.float-logical-values.enabled to true.
  • The text-emphasis, text-emphasis-style, text-emphasis-color, and text-emphasis-position have been implemented; they are disabled by default (set layout.css.text-emphasis.enabled  to true to activate them ({{ bug }}).
  • Several -webkit prefixed properties and values have been added for web compatibility, behind the preference layout.css.prefixes.webkit, defaulting to false:

JavaScript

Interfaces/APIs/DOM

DOM & HTML DOM

WebGL

Our implementation of WebGL 2 has been extended:

  • Support of programs and shaders has been added ({{ bug }}).
  • Support for uniforms and attributes has been added ({{ bug }}).
  • Framebuffer objects have been implemented ({{ bug }}).
  • Renderbuffer objects have been implemented ({{ bug }}).

IndexedDB

No change.

Service Workers

  • Clients.get() and FetchEvent.clientId have been implemented ({{ bug }}.)
  • Clients.openWindow() has been implemented ({{ bug }}.)
  • The options object that can be passed as a parameter when invoking Clients.matchAll() can now include an includeUncontrolled property. This is a Boolean — if set to true, 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 is false.

WebRTC

No change.

New APIs

No change.

Miscellaneous

MathML

No change.

SVG

  • SVG stroke hit-testing is buggy when cairo is the Moz2D backend ({{ bug }}).
  • Unable to interact with elements who have large transform / translate values ({{ bug }}).

Audio/Video

  • Fixed: Regression (since Firefox 41) whereby audio playback was stuttering due to duration time rounding errors ({{ bug }}.)

HTTP

  • The jar: protocol has been disabled by default when accessed from Web content; you may enable this if necessary by setting the network.jar.block-remote-files preference to false ({{ bug }}).

Security

  • A Content-Security-Policy can now be specified using a <meta> element ({{ bug }}).
  • Support of the child-src CSP policy directive has been implemented ({{ bug }}).
  • EV certificates with a validity greater than 27 months are now considered and handled as DV certificates ({{ bug }}).

Changes for add-on and Mozilla developers

Interfaces

No change.

XUL

JavaScript code modules

No change.

XPCOM

No change.

Search plugins

Starting in Firefox 45, search plugins located in the user's profile's searchplugins directory are no longer automatically loaded on startup. Instead, a list of user-installed plugins is maintained and only those plugins are loaded. In effect, this means that the only ways to install new search plugins are for the user to do so in the Firefox UX (via OpenSearch discovery, for instance) or for an add-on to install it. Also, when a new search plugin is installed, more information is recorded about where it came from, for future use by profile debugging and cleaning tools.

Other

  • WebIDL constructors could be called without the new operator in chrome context.  Now such code will raise a TypeError as in Web content since Firefox 30. For example, var req = XMLHttpRequest(); needs to be var req = new XMLHttpRequest();.

See also

Older versions

Document Tags and Contributors

Tags: 
Last updated by: wbamberg,