files/en-us/mozilla/firefox/releases/46/index.md
To test the latest developer features of Firefox, install Firefox Developer Edition. Firefox 46 was released on April 26, 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.
Highlights:
All devtools bugs fixed between Firefox 45 and Firefox 46.
type value, {{HTMLElement("ul")}} no longer maps to decimal, but now behaves as if no type value were specified (Firefox bug 241719).pattern on {{HTMLElement("input")}} is now treated as {{jsxref("RegExp", "a regular expression", "", 1)}} with "u" (unicode) flag (Firefox bug 1227906).Our implementation of CSS Grids has been updated:
auto-fill and auto-fit are now allowed in the repeat() function (Firefox bug 1118820).true value has been renamed to unsafe; this affects the properties {{cssxref("justify-content")}}, {{cssxref("align-content")}}, {{cssxref("justify-self")}}, {{cssxref("align-self")}}, {{cssxref("justify-items")}} and {{cssxref("align-items")}} (Firefox bug 1230478).The properties {{cssxref("text-emphasis")}}, {{cssxref("text-emphasis-style")}}, {{cssxref("text-emphasis-color")}} and {{cssxref("text-emphasis-position")}} are now enabled by default (Firefox bug 1231485).
Gecko now accepts the -webkit- prefixed version of some properties; it requires to switch layout.css.prefixes.webkit to true (Firefox bug 1213126).
The experimental support of the {{cssxref("@font-face/font-display", "font-display")}} descriptor (of {{cssxref("@font-face")}}; it requires to switch layout.css.font-display.enabled to true (Firefox bug 1157064).
Added support for @media (-webkit-transform-3d) as a media query for 3D transform support, if about:config pref layout.css.prefixes.webkit is set to true (Firefox bug 1239799).
{{cssxref("gradient/linear-gradient", "linear-gradient()")}} support for the omission of 0deg units (Firefox bug 1239153).
Added -webkit-filter for web compatibility, behind the preference layout.css.prefixes.webkit, defaulting to false (Firefox bug 1236506).
[css-align] "unsafe start" (formerly "true start") should serialize to "start" etc (Firefox bug 1230398).
arguments[Symbol.iterator]() has been implemented (Firefox bug 1067049).javascript.options.shared_memory to true in about:config.let and const variables now throws a {{jsxref("SyntaxError")}} instead of a {{jsxref("TypeError")}} as per the ECMAScript specification (Firefox bug 1198833).WeakMap.prototype.clear() and WeakSet.prototype.clear() methods have been removed (Firefox bug 1101817).RegExp.multiline property is now deprecated (Firefox bug 1220457).Window.showModalDialog() method is no more available when Firefox runs in multi-process mode (e10s) (Firefox bug 1234700).selectedIndex value is now set to -1, the selectedOptions to an empty {{domxref("HTMLCollection")}}, and value to an empty string (Firefox bug 1203668).OffscreenCanvas.toBlob(), and {{domxref("OffscreenCanvas.transferToImageBitmap()")}}. To use this experimental API set gfx.offscreencanvas.enabled to true in about:config (Firefox bug 1172796)."bitmaprenderer" with {{domxref("OffscreenCanvas.getContext()")}} or {{domxref("HTMLCanvasElement.getContext()")}} to obtain this context. (Firefox bug 1172796).webgl.enable-draft-extensions to true in about:config.No change.
navigate, for supporting requests generated while navigating between documents (see Firefox bug 1209081.)media.peerconnection.video.vp9_enabled to true in about:config. When enabled, VP9 is the preferred codec; previously VP8 was preferred (Firefox bug 1242324).LinkStyle mixin ) Firefox bug 1239128.The asynchronous {{domxref("FileReader")}} is now available in Web workers (Firefox bug 901097).
Our experimental implementation of Web Animations API has been updated:
AnimationEffectTimingReadOnly dictionary and {{domxref("AnimationEffect/getTiming", "AnimationEffectReadOnly.timing")}} have been implemented (Firefox bug 1214536).The Permissions API has now been enabled by default, for all release versions, not just Nightly as it previously was (Firefox bug 1221106.)
Sanitization of WOFF fonts has been loosened a bit (Firefox bug 1244693).
No change.
No change.
No change.
No change.
.onion. This is controlled by the preference network.dns.blockDotOnion. Add-ons supporting Tor can swap this pref. (Firefox bug 1228457)No change.
No change.
No change.
No change.
No change.
No change.