Firefox 22 for developers

  • 版本网址缩略名: Mozilla/Firefox/Releases/22
  • 版本标题: Firefox 22 for developers
  • 版本 id: 381865
  • 创建于:
  • 创建者: ethertank
  • 是否是当前版本?
  • 评论 Moved From Firefox_22_for_developers to Mozilla/Firefox/Releases/22

修订内容

This page is not complete
Firefox 22 hasn't reached its feature freeze yet. New features will be added to it in the near future.

{{ ReleaseChannelInfo("22", "22", "June 2013", "Nightly") }}

Want to help document Firefox 22? See the list of bugs that need to be written about and pitch in!

Web开发者需要注意的变化

HTML

  • 实现了HTML5中的{{HTMLElement("data")}}元素({{bug(839371)}}).
  • 实现了range类型的{{HTMLElement("input")}}元素(<input type="range">) ({{bug(841948)}}).

JavaScript

  • 实现了ES6中的胖箭头函数({{bug(846406)}}).

DOM

  • 不再支持XMLHttpRequest中的multipart属性和multipart/x-mixed-replac响应.这是一个Gecko独有的特性,从来没被标准化过.你可以使用Server-Sent Events, Web Sockets或者在progress事件中查看responseText属性的变化来实现同样的效果.
  • 实现了Web Notifications ({{bug(782211)}}).
  • {{domxref("XMLHttpRequest/FormData", "FormData")}}对象的append方法现在开始接受第三个参数filename({{bug(690659)}}).
  • 移除了{{domxref("Node.isSupported")}}方法({{bug(801562)}}).
  • 实现了Mac OS X中的{{domxref("DeviceLightEvent", "Ambient Light Events")}}后端.

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

  • 移除了下面这些方法中的properties参数: {{ifmethod('nsITreeView','getCellProperties')}}, {{ifmethod('nsITreeView','getColumnProperties')}} and {{ifmethod('nsITreeView','getRowProperties')}} methods of {{interface('nsITreeView')}}. These methods should now return a string of space-separated property names. ({{bug('407956')}})

相关链接

Older versions

{{Firefox_for_developers('21')}}

修订版来源

<div class="overheadIndicator draft draftHeader">
  <strong>This page is not complete</strong>
  <div>
    Firefox 22 hasn't reached its feature freeze yet. New features will be added to it in the near future.</div>
</div>
<p>{{ ReleaseChannelInfo("22", "22", "June 2013", "Nightly") }}</p>
<p>Want to help document Firefox 22? See the <a class="external" href="http://beta.elchi3.de/doctracker/#list=fx&amp;version=22.0">list of bugs that need to be written about</a> and pitch in!</p>
<h2 id="Web.E5.BC.80.E5.8F.91.E8.80.85.E9.9C.80.E8.A6.81.E6.B3.A8.E6.84.8F.E7.9A.84.E5.8F.98.E5.8C.96">Web开发者需要注意的变化</h2>
<h3 id="HTML">HTML</h3>
<ul>
  <li>实现了HTML5中的{{HTMLElement("data")}}元素({{bug(839371)}}).</li>
  <li><code>实现了range类型的</code>{{HTMLElement("input")}}元素(<code>&lt;input type="range"&gt;</code>) ({{bug(841948)}}).</li>
</ul>
<h3 id="JavaScript">JavaScript</h3>
<ul>
  <li>实现了ES6中的胖箭头函数({{bug(846406)}}).</li>
</ul>
<h3 id="DOM">DOM</h3>
<ul>
  <li>不再支持<code>XMLHttpRequest中的</code><code>multipart属性和</code><code>multipart/x-mixed-replac</code>响应.这是一个Gecko独有的特性,从来没被标准化过.你可以使用<a href="/en-US/docs/Server-sent_events" title="/en-US/docs/Server-sent_events">Server-Sent Events</a>, <a href="/en-US/docs/WebSockets" title="/en-US/docs/WebSockets">Web Sockets</a>或者在progress事件中查看<code>responseText</code>属性的变化来实现同样的效果.</li>
  <li>实现了<a href="http://notifications.spec.whatwg.org/" title="http://notifications.spec.whatwg.org/">Web Notifications</a> ({{bug(782211)}}).</li>
  <li>{{domxref("XMLHttpRequest/FormData", "FormData")}}对象的<code>append</code>方法现在开始接受第三个参数<code>filename</code>({{bug(690659)}}).</li>
  <li>移除了{{domxref("Node.isSupported")}}方法({{bug(801562)}}).</li>
  <li>实现了Mac OS X中的{{domxref("DeviceLightEvent", "Ambient Light Events")}}后端.</li>
</ul>
<h2 id=".E9.99.84.E5.8A.A0.E7.BB.84.E4.BB.B6.E5.92.8CMozilla.E5.BC.80.E5.8F.91.E8.80.85.E9.9C.80.E8.A6.81.E6.B3.A8.E6.84.8F.E7.9A.84.E5.8F.98.E5.8C.96">附加组件和Mozilla开发者需要注意的变化</h2>
<ul>
  <li>移除了下面这些方法中的<code>properties</code>参数: {{ifmethod('nsITreeView','getCellProperties')}}, {{ifmethod('nsITreeView','getColumnProperties')}} and {{ifmethod('nsITreeView','getRowProperties')}} methods of {{interface('nsITreeView')}}. These methods should now return a string of space-separated property names. ({{bug('407956')}})</li>
</ul>
<h2 id=".E7.9B.B8.E5.85.B3.E9.93.BE.E6.8E.A5">相关链接</h2>
<ul>
  <li><a href="http://www.mozilla.org/en-US/firefox/22.0a1/auroranotes/">Firefox&nbsp;22 Aurora Release Notes</a></li>
  <li><a href="/en-US/docs/Site_Compatibility_for_Firefox_22">Site Compatibility for Firefox 22</a></li>
</ul>
<h3 id="Older_versions">Older versions</h3>
<p>{{Firefox_for_developers('21')}}</p>
恢复到这个版本