Firefox 11 for developers

  • Revision slug: Firefox_11_for_developers
  • Revision title: Firefox 11 for developers
  • Revision id: 8129
  • Created:
  • Creator: trevorh
  • Is current revision? No
  • Comment nsICharsetResolver is obsolete; 20 words added

Revision Content

{{ draft() }}

{{ ReleaseChannelInfo("11") }}

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

Changes for Web developers

DOM

  • The outerHTML property is now supported on HTML elements
  • XMLHttpRequest supports HTML parsing.
  • MozBeforePaint events are no longer fired. {{ domxref("window.requestAnimationFrame","mozRequestAnimationFrame") }} consumers who used these should pass a callback function instead.
  • Several Event constructors (Event, HTML events, UIEvent, and MouseEvent) introduced in DOM4 specifications are now supported.

CSS

WebSocket

  • WebSocket API now supports binary messages (see {{ bug("676439") }}).
  • Both the protocol and the API has been updated to the latest draft of the specification and the API has been unprefixed (see {{ bug("666349") }} and {{ bug("695635") }}).

Dev tools

Changes for Mozilla and add-on developers

Interface changes

  • The {{ interface("mozIAsyncHistory") }} interface has a new method {{ ifmethod("mozIAsyncHistory","isURIVisited") }} to check if a URI has been visited.
  • A new interface {{ interface("mozIVisitStatusCallback") }} has been added to provide callback handling functionality for {{ ifmethod("mozIAsyncHistory","isURIVisited") }}

Removed interfaces

The following interfaces were implementation details that are no longer needed:

  • {{ interface("nsICharsetResolver") }}

See also

Revision Source

<p>{{ draft() }}</p>
<p>{{ ReleaseChannelInfo("11") }}</p>
<p>Want to help document Firefox 11? See the <a class="external" href="http://beta.elchi3.de/doctracker/#list=fx&amp;version=11.0" title="http://beta.elchi3.de/doctracker/#list=fx&amp;version=11.0">list of bugs that need to be written about</a> and pitch in!</p>
<h2>Changes for Web developers</h2>
<h3>DOM</h3>
<ul> <li>The <a href="/en/DOM/element.outerHTML" title="en/DOM/element.outerHTML"><code>outerHTML</code> property</a> is now supported on HTML elements</li> <li><a href="/en/HTML_in_XMLHttpRequest" title="en/HTML_in_XMLHttpRequest"><code>XMLHttpRequest</code> supports HTML parsing</a>.</li> <li><code>MozBeforePaint</code> events are no longer fired. {{ domxref("window.requestAnimationFrame","mozRequestAnimationFrame") }} consumers who used these should pass a callback function instead.</li> <li>Several <code>Event</code> constructors (<code>Event</code>, HTML events, <code>UIEvent</code>, and <code>MouseEvent</code>) introduced in DOM4 specifications are now supported.</li>
</ul><h3>CSS</h3>
<ul> <li>the <a href="/en/CSS/text-size-adjust" title="text-size-adjust">text-size-adjust </a>property is now supported</li>
</ul>
<h3>WebSocket</h3>
<ul> <li><a href="/en/WebSockets" title="en/WebSockets">WebSocket</a> API now supports binary messages (see {{ bug("676439") }}).</li> <li>Both the protocol and the API has been updated to the latest draft of the specification and the API has been unprefixed (see {{ bug("666349") }} and {{ bug("695635") }}).</li>
</ul>
<h3>Dev tools</h3>
<ul> <li>The <a href="/en/View_source" title="https://developer.mozilla.org/en/View_source">View Source feature</a> now uses the new HTML5 parser instead of the old HTML parser.</li>
</ul>
<h2>Changes for Mozilla and add-on developers</h2>
<h3>Interface changes</h3>
<ul> <li>The {{ interface("mozIAsyncHistory") }} interface has a new method {{ ifmethod("mozIAsyncHistory","isURIVisited") }} to check if a URI has been visited.</li> <li>A new interface {{ interface("mozIVisitStatusCallback") }} has been added to provide callback handling functionality for {{ ifmethod("mozIAsyncHistory","isURIVisited") }}</li>
</ul>
<h4>Removed interfaces</h4>
<p>The following interfaces were implementation details that are no longer needed:</p>
<ul> <li>{{ interface("nsICharsetResolver") }}</li>
</ul>
<h3>See also</h3>
<ul> <li><a href="/en/Firefox_10_for_developers" title="en/Firefox 10 for developers">Firefox 10 for developers</a></li> <li><a href="/en/Firefox_9_for_developers" title="en/Firefox 9 for developers">Firefox 9 for developers</a></li> <li><a href="/en/Firefox_8_for_developers" title="en/Firefox 8 for developers">Firefox 8 for developers</a></li> <li><a href="/en/Firefox_7_for_developers" title="en/Firefox 7 for developers">Firefox 7 for developers</a></li> <li><a href="/en/Firefox_6_for_developers" title="en/Firefox 6 for developers">Firefox 6 for developers</a></li> <li><a href="/en/Firefox_5_for_developers" title="en/Firefox 5 for developers">Firefox 5 for developers </a></li> <li><a href="/en/Firefox_4_for_developers" title="en/Firefox 4 for developers">Firefox 4 for developers </a></li> <li><a href="/en/Firefox_3.6_for_developers" title="en/Firefox 3.6 for developers">Firefox 3.6 for developers </a></li> <li><a href="/En/Firefox_3.5_for_developers" title="en/Firefox 3.5 for developers">Firefox 3.5 for developers</a></li> <li><a href="/en/Firefox_3_for_developers" title="en/Firefox 3 for developers">Firefox 3 for developers</a></li> <li><a href="/en/Firefox_2_for_developers" title="en/Firefox 2 for developers">Firefox 2 for developers</a></li> <li><a href="/en/Firefox_1.5_for_developers" title="en/Firefox 1.5 for developers">Firefox 1.5 for developers</a></li>
</ul>
Revert to this revision