Firefox 46 for developers

Вы читаете английскую версию этой статьи, так как пока нет перевода на данный язык. Помогите нам перевести эту статью!

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.

Changes for Web developers

Developer Tools

HTML

  • When faced with an invalid type value, <ul> no longer maps to decimal, but now behaves as if no type value were specified ({{bug(241719)}}).
  • The attribute pattern on <input> is now treated as a regular expression with "u" (unicode) flag ({{bug(1227906)}}).

CSS

  • Our implementation of CSS Grids has been updated:
  • The properties text-emphasis, text-emphasis-style, text-emphasis-color and text-emphasis-position are now enabled by defaut ({{bug(1231485)}}).
  • Gecko now accepts the -webkit- prefixed version of some properties; it requires to switch layout.css.prefixes.webkit to true ({{bug(1213126)}}).
  • The experimental support of the font-display descriptor (of @font; it requires to switch layout.css.font-display.enabled to true ({{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 ({{bug(1239799)}}).
  • linear-gradient() support for the omission of 0deg units ({{bug(1239153)}}).
  • Added -webkit-filter for web compatibility, behind the preference layout.css.prefixes.webkit, defaulting to false ({{bug(1236506)}}).
  •  [css-align] "unsafe start" (formerly "true start") should serialize to "start" etc ({{bug(1230398)}}).

JavaScript

Interfaces/APIs/DOM

DOM & HTML DOM

Canvas

WebGL

IndexedDB

No change.

Service Workers

Fetch

  • Request.mode now has a new value available, navigate, for supporting requests generated while navigating between documents (see {{bug("1209081")}}.)

WebRTC

  • The RTCPeerConnection.createOffer() method now supports the VP9 video codec, although this is disabled by default. To enable it, set the preference media.peerconnection.video.vp9_enabled to true in about:config. When enabled, VP9 is the preferred codec; previously VP8 was preferred ({{bug(1242324)}}).
  • The method RTCRtpSender.setParameters() has been added to allow changing the values of parameters after the RTCRtpSender was initially created.

New APIs

Miscellaneous

MathML

No change.

SVG

No change.

Audio/Video

No change.

HTTP

No change.

Networking

  • Support of RFC 7686 has been added: by default there is no attempt to resolve domain with the TLD .onion. This is controlled by the preference network.dns.blockDotOnion. Add-ons supporting Tor can swap this pref. ({{bug(1228457)}})

Security

No change.

Changes for add-on and Mozilla developers

Interfaces

No change.

XUL

No change.

JavaScript code modules

No change.

XPCOM

No change.

Other

No change.

See also

Older versions