mozilla

Revision 12689 of Firefox 6 for developers

  • Revision slug: Firefox_6_for_developers
  • Revision title: Firefox 6 for developers
  • Revision id: 12689
  • Created:
  • Creator: mnot
  • Is current revision? No
  • Comment 2 words added, 1 words removed

Revision Content

{{ draft() }}

Firefox 6, based on Gecko 6.0, will ship in the third quarter of 2011. This article provides links to information about the changes that affect developers in this release. Nightly builds of what will become Firefox 5 are currently available on the Nightly channel (that is, mozilla-central).

Changes for web developers

DOM

  • navigator.securityPolicy, which has returned an empty string for a long time, has been removed outright.

HTTP

  • Parsing of the "Content-Disposition" header has been fixed to properly interpret backslash-escaped ASCII characters as just that character itself. Previously it was incorrectly replacing that character with an underscore ("_").

Changes for Mozilla and add-on developers

Using the DOM from chrome

Using the DOM File API in chrome code
Although you've always been able to use the DOM File API from chrome code, the {{ domxref("File") }} constructor now supports specifying a local pathname string when used from chrome.

See also

Revision Source

<p>{{ draft() }}</p>
<p>Firefox 6, based on Gecko 6.0, will ship in the third quarter of 2011. This article provides links to information about the changes that affect developers in this release. Nightly builds of what will become Firefox 5 are <a class=" external" href="http://www.mozilla.com/en-US/firefox/channel/" title="http://www.mozilla.com/en-US/firefox/channel/">currently available</a> on the Nightly channel (that is, <a href="/En/Developer_Guide/Source_Code/Mercurial#mozilla-central_(main_development_tree)" title="en/Mozilla Source Code (Mercurial)#mozilla-central (main development tree)">mozilla-central</a>).</p>
<h2>Changes for web developers</h2>
<h3>DOM</h3>
<ul> <li><code>navigator.securityPolicy</code>, which has returned an empty string for a long time, has been removed outright.</li>
</ul>
<h3>HTTP</h3>
<ul> <li>Parsing of the "Content-Disposition" header has been fixed to properly interpret backslash-escaped ASCII characters as just that character itself. Previously it was incorrectly replacing that character with an underscore ("_").</li>
</ul>
<h2>Changes for Mozilla and add-on developers</h2>
<h3>Using the DOM from chrome</h3>
<dl> <dt><a href="/en/Extensions/Using_the_DOM_File_API_in_chrome_code" title="en/Extensions/Using the DOM File API in chrome code">Using the DOM File API in chrome code</a></dt> <dd>Although you've always been able to use the DOM File API from chrome code, the {{ domxref("File") }} constructor now supports specifying a local pathname string when used from chrome.</dd>
</dl>
<h3>See also</h3>
<ul> <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 class="internal" href="/En/Firefox_3.5_for_developers" title="En/Firefox 3.5 for developers">Firefox 3.5 for developers</a></li> <li><a class="internal" href="/en/Firefox_3_for_developers" title="en/Firefox 3 for developers">Firefox 3 for developers</a></li> <li><a class="internal" href="/en/Firefox_2_for_developers" title="en/Firefox 2 for developers">Firefox 2 for developers</a></li> <li><a class="internal" 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