Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Наши волонтёры ещё не перевели данную статью на Русский. Присоединяйтесь к нам и помогите закончить эту работу!

To test the latest developer features of Firefox,
install Firefox Developer Edition
Firefox 41 was released on September 22, 2015. 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

Highlights:

All devtools bugs fixed between Firefox 40 and Firefox 41: note that many of these bugs, especially those relating to the performance tools, were uplifted to Firefox 40.

CSS

HTML

JavaScript

Interfaces/APIs/DOM

HTML Editing API

Events

Web Crypto

Canvas API

Service Workers

WebGL

  • The failIfMajorPerformanceCaveat WebGL context attribute has been added and can be set when creating a WebGL context with HTMLCanvasElement.getContext() to indicate if a context creation should fail if the system performance is low (bug 1164970).

WebRTC

  • Firefox no longer offers a default STUN server to be used if none are specified when constructing a new RTCPeerConnection. You'll need to provide one in order to successfully establish a WebRTC connection.

Miscellaneous

MathML

New default and fallback font handling

Mathematical formulas require special fonts. So far, these fonts were hard-coded in the mathml.css user agent stylesheet (which sets the font-family on <math> tag) and in the preference option font.mathfont-family (which sets the fallback fonts to use for stretchy and large operators). Firefox 41 introduces, an internal x-math language that is automatically set on the <math> tag as well as corresponding preference options (e.g. font.name.serif.x-math). The user agent stylesheet now sets font-family to serif on the <math> tag and the preference option font.mathfont-family is replaced with font.name.serif.x-math.  All platforms now essentially use the same list of fallback fonts, with "Latin Modern Math" as first one. The default/fallback fonts can be configured from the standard per-language font preference menu. For more details, see bug 947654 and bug 1160456.

SVG

  • Site icons (favicons, shortcut icons) now support SVG (bug 366324).

Audio/Video

  • The media.autoplay.enabled preference now also apply to untrusted HTMLMediaElement.play() invocations too, that is calls from non-users activated scripts (bug 659285).

Networking

  • The X-Content-Duration header is no longer supported (bug 1160695).
  • Draft versions of the HTTP/2 protocol are no more supported (bug 1132357).

Security

  • The CSP 1.1 manifest-src directive is now supported (bug 1089255).
  • Previous versions of Firefox incorrectly expected the Content Security Policy referrer directive's value origin-when-cross-origin to be spelled origin-when-crossorigin. This has been corrected to include the missing dash character.

Changes for add-on and Mozilla developers

XUL

No change.

JavaScript code modules

No change.

XPCOM

Interfaces

No change.

Other

See also

Older versions

Метки документа и участники

Метки: 
 Внесли вклад в эту страницу: Sheppy, yisibl, teoli, evilpie, Sebastianz, fscholz, kohei.yoshino, Bolaram, mattbrundage, Ehsan, chrisdavidmills, arai, wbamberg, mkato, adria, bholley, fred.wang
 Обновлялась последний раз: Sheppy,