--- title: Firefox 17 for developers slug: Mozilla/Firefox/Releases/17 tags: - Firefox - Firefox 17 translation_of: Mozilla/Firefox/Releases/17 ---
{{FirefoxSidebar}}

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.

WEB开发者需要注意的变化

HTML

CSS

DOM

 

JavaScript

WebGL

 

 

SVG

No change.

MathML

 

 

XUL

网络

 

 

开发者工具

 

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.

附加组件和Mozilla开发者需要注意的变化

接口变化

{{ interface("nsIInputStream") }}
available() 方法返回一个64位的长度而不是32位的. ({{bug("215450")}})
{{ interface("nsIDOMWindowUtils") }}
sendMouseScrollEvent()方法被sendWheelEvent()替换. ({{bug("719320")}})
{{interface("nsIFilePicker")}}
The open() method, to open the file dialog asynchronously, has been added and the show() method has been deprecated ({{bug("731307")}}).
{{interface("nsIScriptSecurityManager")}}
The checkLoadURIStr() and checkLoadURI() methods have been removed ({{bug("327244")}}).
{{interface("nsIRefreshURI")}}
The setupRefreshURIFromHeader() method has a added principal parameter ({{bug("327244")}}).

新增接口

None.

移除接口

None removed.

See also

Older versions

{{Firefox_for_developers('16')}}