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

Firefox 19已于2013年2月19日正式发布.

Web开发者需要注意的变化

JavaScript

CSS

DOM

XForms

删除了对XForms的支持.

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

注: A key change in Firefox 19 is that nsresult is now strongly typed. This will help make it easier to detect bugs that are caused by mishandling of return values, but may cause existing code to break if it's making incorrect assumptions in this regard.

接口变化

{{interface("nsIImgLoadingContent")}}
The parameter (aObserver) of addObserver() method changes from {{interface("imgIDecoderObserver")}} to {{interface("imgINotificationObserver")}}. The notify() method of {{interface("imgINotificationObserver")}} is not scriptable, so you need to use createScriptedObserver() from {{interface("imgITools")}}.
{{interface("nsIChannel")}}
 contentLength 属性的类型由 long 改成 int64_t.

相关链接

更早版本

{{Firefox_for_developers('18')}}