Firefox 42 for developers 编辑

To test the latest developer features of Firefox,
install Firefox Developer Edition
Firefox 42 was released on November 3, 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 41 and Firefox 42.

CSS

HTML

JavaScript

Interfaces/APIs/DOM

DOM & HTML DOM

Service Workers

Web Animations API

Our experimental implementation of Web Animations API have been extended to support:

Web Components

Our experimental implementation of the Shadow DOM has been modified:

WebGL

WebRTC

New APIs

  • The ImageBitmap interface and the createImageBitmap() method have been implemented. They are available on regular window scripts and in Web workers and allow efficient posting of images between window and worker contexts (bug 1044102).

Miscellaneous

MathML

No change.

SVG

No change.

Audio/Video

No change.

HTTP

  • Firefox 41 and earlier versions were incorrectly accepting undefined or invalid pseudo-header fields in HTTP/2 responses. This is now fixed and the only pseudo-header field accepted from Firefox 42 is the :status as per the specification. Response headers containing arbitrary fields are considered malformed. (bug 1136727)

Networking

Security

  • EV certificates with a validity greater than 39 months are now considered and handled as DV certificates (bug 1145679).

Changes for add-on and Mozilla developers

Interfaces

nsIContentPolicy

  • The TYPE_EMBED constant has been added to nsIContentPolicy to allow Gecko internals and add-on code to better differentiate different types of requests. Previously, TYPE_OBJECT was used for these cases (bug 1148030).
  • Similarly, the TYPE_SUBDOCUMENT constants has been split into TYPE_FRAME and TYPE_IFRAME (bug 1148044).

XUL

No change.

JavaScript code modules

No change.

XPCOM

No change.

Other

No change.

See also

Older versions

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

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

发布评论

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

词条统计

浏览:126 次

字数:24978

最后编辑:6 年前

编辑次数:0 次

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