Firefox 40 for developers 编辑

To test the latest developer features of Firefox,
install Firefox Developer Edition
Firefox 40 was released on August 11, 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:

More:

Everything: all devtools bugs fixed between Firefox 39 and Firefox 40.

CSS

HTML

No change.

JavaScript

Interfaces/APIs/DOM

New APIs

  • The Push API has been experimentally implemented (bug 1038811). Controlled by the services.push.enabled pref, it is disabled by default.

Web Animations API

Improvement in our experimental Web Animations implementation, mostly to match latest spec changes:

CSSOM

  • The CSS Font Loading API is now enabled by default in Nightly and Developer Edition releases (bug 1088437). It is still deactivated by default in Beta and Release browsers.
  • The CSSCharsetRule interface has been removed and such objects are no longer available in CSSOM (bug 1148694). This matches the spec (recently adapted) and Chrome behavior.

WebRTC

DOM & HTML DOM

Web Audio API

New extensions to the Web Audio API:

Web Workers

IndexedDB

Dev Tools

MathML

No change.

SVG

No change.

Audio/Video

No change.

Networking

No change.

Security

  • Using an asterisk (*) in a CSP does not include the schemes data:, blob: or :filesystem anymore when matching source expressions. So those schemes now need to be explicitly defined within the related header to match the CSP (bug 1086999).

Changes for add-on and Mozilla developers

XUL

  • It is no longer possible to create transparent top-level windows bug 1162649.

JavaScript code modules

XPCOM

  • The nsIClassInfo.implementationLanguage attribute has been removed, along with the nsClassInfo::GetImplementationLanguage() function.
  • The following XPCOM interfaces have been removed; you should use the standard HTML interfaces instead:
    • nsIDOMHTMLBRElement
    • nsIDOMDivElement
    • nsIDOMHTMLHeadingElement
    • nsIDOMHTMLTableCaptionElement
    • nsIDOMHTMLTableElement
    • nsIDOMHTMLTitleElement

Other

See also

Older versions

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:44 次

字数:25877

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文