Firefox 17 for developers 编辑

Firefox 17 shipped on November 20, 2012. This article lists key changes that are useful for not only web developers, but also Firefox and Gecko developers as well as add-on developers.

Changes for Web developers

HTML

CSS

DOM/APIs

JavaScript

WebGL

  • The EXT_texture_filter_anisotropic WebGL extension has been unprefixed. Using "MOZ_EXT_texture_filter_anisotropic" will present a warning from now on. The prefixed name is going to be removed in a future release (bug 776001).

SVG

No change.

MathML

  • The parsing of the align attribute on <mtable> elements has been updated to treat optional spaces more correctly.

XUL

  • XUL key element supports "os" modifier which is Win key (Super or Hyper key) (bug 778732).

Network

  • Removed the non-standard feature XMLHttpRequest.onuploadprogress which was deprecaed in Firefox 14.

No change.

Developer tools

  • Change JSTerm's $ helper function from getElementById to querySelector() (bug 751749).

User Agent

The Gecko part of the user agent string changed. The build date (which hadn't been updated since 2010) was removed, and the Gecko version number was put in its place instead. So Gecko/20100101 -> Gecko/17.0. This may affect you if you are doing user agent sniffing.

Changes for add-on and Mozilla developers

Interface changes

nsIInputStream
The available() method returns 64-bit length instead of 32-bit (bug 215450).
nsIDOMWindowUtils
The sendMouseScrollEvent() method has been replaced with sendWheelEvent() (bug 719320).
nsIFilePicker
The open() method, to open the file dialog asynchronously, has been added and the show() method has been deprecated (bug 731307).
nsIScriptSecurityManager
The checkLoadURIStr() and checkLoadURI() methods have been removed (bug 327244).
nsIRefreshURI
The setupRefreshURIFromHeader() method has a added principal parameter (bug 327244).

New interfaces

None.

Removed interfaces

None removed.

See also

Older versions

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

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

发布评论

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

词条统计

浏览:157 次

字数:14554

最后编辑:7年前

编辑次数:0 次

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