Firefox 36 for developers 编辑

Firefox 36 was released on February 24th, 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 35 and Firefox 36.

CSS

HTML

  • Support for <meta name="referrer"> has been added (bug 704320).
  • In Firefox, <input> filters specified in the accept attribute will always be selected by default, unless there is a unknown value, that is an unknown mime type or badly formatted value in the accept attribute. Previously specified filters were only selected by default for image/*,video/* and audio/* values (bug 826185).

JavaScript

Interfaces/APIs/DOM

 

MathML

No change.

SVG

No change.

Audio/Video

No change.

Networking

  • Support for SPDY/3 has been removed; support for SPDY/3.1 is still available (bug 1097944).

Security

  • RC4 is now considered as insecure and all UI indicators will react as such; SSLv3 has been disabled by default in Firefox 34, but the UI has been changed to help the user better understand what is happening (bug 1093595).
  • Also, RC4 is no longer offered in the initial handshake of TLS (bug 1088915).
  • The form-action directive of CSP 1.1 is now supported (bug 529697).
  • In the preferences of Firefox, The Do not track selection widget is again an on/off switch (bug 1071747).

Changes for add-on and Mozilla developers

Add-on SDK

Highlights

var { require } = Cu.import("resource://gre/modules/commonjs/toolkit/require.js", {});

Details

Github commits made between Firefox 35 and Firefox 36.

JavaScript code modules

Interfaces

nsIContentPolicy

New constants have been added to nsIContentPolicy to allow Gecko internals and add-on code to better differentiate different types of requests. These are:

TYPE_FETCH
Indicates a content load request initiated by the GlobalFetch.fetch() method.
TYPE_IMAGESET
Indicates a request to load an <img> (with the srcset attribute or <picture> element.

XUL

No change.

Other

See also

Older versions

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

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

发布评论

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

词条统计

浏览:71 次

字数:25956

最后编辑:7 年前

编辑次数:0 次

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