mozilla

Revision 429709 of Firefox 22 for developers

  • Revision slug: Mozilla/Firefox/Releases/22
  • Revision title: Firefox 22 for developers
  • Revision id: 429709
  • Created:
  • Creator: kohei.yoshino
  • Is current revision? No
  • Comment

Revision Content

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", "Beta")}}

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

Changes for Web developers

HTML

  • The HTML5 {{HTMLElement("data")}} element has been implemented ({{bug(839371)}}).
  • The range state of the {{HTMLElement("input")}} element (<input type="range">) has been implemented, currently set enabled on Nightly and Aurora channel ({{bug(841948)}}).

JavaScript

  • ES6 Arrow Function syntax has been implemented ({{bug(846406)}}).
  • The new Object.is function has been added ({{bug(839979)}}).

DOM

  • Support for the multipart property on XMLHttpRequest and multipart/x-mixed-replace responses in XMLHttpRequest has been removed. This was a Gecko-only feature that was never standardized. Server-Sent Events, Web Sockets or inspecting responseText from progress events can be used instead.
  • Support for Web Notifications has been landed ({{bug(782211)}}).
  • The {{domxref("XMLHttpRequest/FormData", "FormData")}}  append method now accepts a third optional filename parameter ({{bug(690659)}}).
  • {{domxref("Node.isSupported")}} has been removed ({{bug(801562)}}).
  • The Mac OS X backend for {{domxref("DeviceLightEvent", "Ambient Light Events")}} has been implemented.
  • Elements in the HTML namespace with local names "bgsound", "multicol", and "image" no longer use the HTMLSpanElement interface.  "bgsound" and "multicol" use HTMLUnknownElement and "image" uses HTMLElement.

CSS

  • Support for CSS Flexbox layout has been enabled by default ({{bug("841876")}}).
  • Support for CSS Conditionals ({{cssxref("@supports")}} and {{domxref("CSS.supports")}}) has been enabled by default ({{bug("855455")}}).

Changes for add-on and Mozilla developers

  • The properties parameter has been removed from the {{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')}})
  • The {{ifmethod('inIDOMUtils', 'getCSSPropertyNames')}} method has been implemented and will return all supported CSS property names.

See also

Versions

{{Firefox_for_developers}}

Revision Source

<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>
<div>
  {{ReleaseChannelInfo("22", "22", "June 2013", "Beta")}}</div>
<p>Want to help document Firefox 22? See the <a 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="Changes_for_Web_developers">Changes for Web developers</h2>
<h3 id="HTML">HTML</h3>
<ul>
  <li>The HTML5 {{HTMLElement("data")}} element has been implemented ({{bug(839371)}}).</li>
  <li>The <code>range</code> state of the {{HTMLElement("input")}} element (<code>&lt;input type="range"&gt;</code>) has been implemented, currently set enabled on Nightly and Aurora channel ({{bug(841948)}}).</li>
</ul>
<h3 id="JavaScript">JavaScript</h3>
<ul>
  <li>ES6 <a href="/en-US/docs/JavaScript/Reference/arrow_functions" title="/en-US/docs/JavaScript/Reference/arrow_functions">Arrow Function</a> syntax has been implemented ({{bug(846406)}}).</li>
  <li>The new <a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is" title="/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is">Object.is</a> function has been added ({{bug(839979)}}).</li>
</ul>
<h3 id="DOM">DOM</h3>
<ul>
  <li>Support for the <code>multipart</code> property on <code>XMLHttpRequest</code> and <code>multipart/x-mixed-replace</code> responses in <code>XMLHttpRequest</code> has been removed. This was a Gecko-only feature that was never standardized. <a href="/en-US/docs/Server-sent_events" title="Server-sent_events">Server-Sent Events</a>, <a href="/en-US/docs/WebSockets" title="WebSockets">Web Sockets</a> or inspecting <code>responseText</code> from progress events can be used instead.</li>
  <li>Support for <a href="http://notifications.spec.whatwg.org/" title="http://notifications.spec.whatwg.org/">Web Notifications</a> has been landed ({{bug(782211)}}).</li>
  <li>The {{domxref("XMLHttpRequest/FormData", "FormData")}}&nbsp; <code>append</code> method now accepts a third optional <code>filename</code> parameter ({{bug(690659)}}).</li>
  <li>{{domxref("Node.isSupported")}} has been removed ({{bug(801562)}}).</li>
  <li>The Mac OS X backend for {{domxref("DeviceLightEvent", "Ambient Light Events")}} has been implemented.</li>
  <li>Elements in the HTML namespace with local names "bgsound", "multicol", and "image" no longer use the <code>HTMLSpanElement</code> interface.&nbsp; "bgsound" and "multicol" use <code>HTMLUnknownElement</code> and "image" uses <code>HTMLElement</code>.</li>
</ul>
<h3 id="CSS">CSS</h3>
<ul>
  <li>Support for <a href="/en-US/docs/CSS/Tutorials/Using_CSS_flexible_boxes" title="CSS/Tutorials/Using_CSS_flexible_boxes">CSS Flexbox layout</a> has been enabled by default ({{bug("841876")}}).</li>
  <li>Support for CSS Conditionals ({{cssxref("@supports")}} and {{domxref("CSS.supports")}}) has been enabled by default ({{bug("855455")}}).</li>
</ul>
<h2 id="Changes_for_add-on_and_Mozilla_developers">Changes for add-on and Mozilla developers</h2>
<ul>
  <li>The <code>properties</code> parameter has been removed from the {{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>
  <li>The {{ifmethod('inIDOMUtils', 'getCSSPropertyNames')}} method has been implemented and will return all supported <a href="/en-US/docs/CSS/CSS_Reference" title="/en-US/docs/CSS/CSS_Reference">CSS property</a> names.</li>
</ul>
<h2 id="See_also">See also</h2>
<ul>
  <li><a href="http://www.mozilla.org/en-US/firefox/22.0beta/releasenotes/">Firefox&nbsp;22 Beta Release Notes</a></li>
  <li><a href="/en-US/docs/Site_Compatibility_for_Firefox_22">Site Compatibility for Firefox&nbsp;22</a></li>
  <li><a href="https://blog.mozilla.org/addons/2013/06/03/compatibility-for-firefox-22/">Add-on Compatibility for Firefox&nbsp;22</a></li>
</ul>
<h3 id="Versions">Versions</h3>
<div>
  {{Firefox_for_developers}}</div>
Revert to this revision