Firefox 3.6 for developers

  • Revision slug: Firefox_3.6_for_developers
  • Revision title: Firefox 3.6 for developers
  • Revision id: 27392
  • Created:
  • Creator: Midnightaz
  • Is current revision? No
  • Comment 7 words added

Revision Content

Firefox 3.6 -- code-named Namoroka -- will be based upon Gecko 1.9.2. Please collect information about changes that will impact developers here, and our happy, helpful documentation gnomes will make sure that articles are written to explain your hard coding work.

Note: For more information on how to make sure changes get properly documented, please see this blog post.

For web site and application developers

CSS

DOM

  • The reorder event is now sent to embedded frames and iframes when their document is loaded. See {{ bug("420845") }}.
  • The getBoxObjectFor() method has been removed, as it was non-standard and exposed even more non-standard stuff to the web. See {{ bug("340571") }}.
  • A new attribute has been created, mozScreenPixelsPerCSSPixel, for obtaining the amount of screen pixels per CSS pixel on {{ Interface("nsIDOMWindowUtils") }}. This can be used in conjunction with the new global properties, mozInnerScreenX and mozInnerScreenY, to compute screen coordinates. See {{ bug("486200") }} and {{ bug("507755") }}.
  • When the page's URI's document fragment identifier (the part after the "#" (hash) character) changes, a new hashchange event is sent to the page. See {{ bug("385434") }}, {{ bug("504837") }}, and {{ bug("504220") }}.
  • Geolocation "addresss" support is now available enabling user-readable position information.  See {{ bug("503942") }}.
  • The complete attribute on document.readystate is now supported. {{ bug("347174") }}.

For XUL and add-on developers

Places

  • Places queries can now specify whether or not to include redirected pages in results. See {{ bug("428690") }}.
  • Added the new {{ ifmethod("nsIFaviconService", "expireAllFavicons") }} method to the {{ interface("nsIFaviconService") }} interface.

Storage

  • Added support for locale-aware collation of data in Storage. See {{ bug("499990") }}.
  • Support for asynchronously binding multiple sets of parameters and executing a statement has been added. See {{ bug("490085") }}.
  • You can now enumerate properties on a statement. See the Enumeration of properties section of the article on {{ interface("MozIStorageStatementParams") }} for details.

Miscellaneous

  • contents.rdf is no longer supported for registering chrome in extensions. You must now use the chrome.manifest file instead. See {{ bug("492008") }}.
  • Added support for hiding the menu bar automatically. See {{ bug("477256") }}.
  • Added support for the container-live-role attribute to objects. See {{ bug("391829") }}.
  • The tabs-closebutton binding has been removed. See {{ bug("500971") }}.
  • Added support to {{ interface("nsISound") }} for playing sounds based on events that have occurred. See {{ bug("502799") }}.
  • The syntax for the {{ interface("nsITreeView") }} methods {{ ifmethod("nsITreeView", "canDrop") }} and {{ ifmethod("nsITreeView", "drop") }} has changed to support the new drag & drop API introduced in Gecko 1.9. See {{ bug("455590") }}.

See also

 {{ languages( { "ja": "ja/Firefox_3.6_for_developers"} ) }}

Revision Source

<p>Firefox 3.6 -- code-named <a class="link-https" href="https://wiki.mozilla.org/Firefox/Namoroka" title="https://wiki.mozilla.org/Firefox/Namoroka">Namoroka</a> -- will be based upon Gecko 1.9.2. Please collect information about changes that will impact developers here, and our happy, helpful documentation gnomes will make sure that articles are written to explain your hard coding work.</p>
<div class="note"><strong>Note</strong><strong>: </strong>For more information on how to make sure changes get properly documented, please <a class="external" href="http://www.bitstampede.com/2009/07/29/the-key-to-getting-developer-docs-updated/" title="http://www.bitstampede.com/2009/07/29/the-key-to-getting-developer-docs-updated/">see this blog post</a>.</div>
<h2>For web site and application developers</h2>
<h3>CSS</h3>
<ul> <li>The <code>background-size</code> property from the <a class="external" href="http://dev.w3.org/csswg/css3-background/" title="http://dev.w3.org/csswg/css3-background/#the-background-size-property">CSS 3 Backgrounds and Borders draft</a> is supported under the name <a class="internal" href="/en/CSS/-moz-background-size" title="/En/CSS/-moz-background-size"><code>-moz-background-size</code></a>.</li> <li>A proposal for CSS {{ cssxref("Gradients","gradients") }} is supported for {{ Cssxref("background-image") }}.</li> <li>Multiple background images are now supported.</li> <li>The <code>rem</code> unit from <a class="external" href="http://www.w3.org/TR/css3-values/#lengths" title="http://www.w3.org/TR/css3-values/#lengths">CSS3 Values and Units</a> is now supported.</li>
</ul>
<h3>DOM</h3>
<ul> <li>The reorder event is now sent to embedded frames and iframes when their document is loaded. See {{ bug("420845") }}.</li> <li>The <code>getBoxObjectFor()</code> method has been <strong>removed</strong>, as it was non-standard and exposed even more non-standard stuff to the web. See {{ bug("340571") }}.</li> <li>A new attribute has been created, mozScreenPixelsPerCSSPixel, for obtaining the amount of screen pixels per CSS pixel on {{ Interface("nsIDOMWindowUtils") }}. This can be used in conjunction with the new global properties, mozInnerScreenX and mozInnerScreenY, to compute screen coordinates. See {{ bug("486200") }} and {{ bug("507755") }}.</li> <li>When the page's URI's document fragment identifier (the part after the "#" (hash) character) changes, a new <code>hashchange</code> event is sent to the page. See {{ bug("385434") }}, {{ bug("504837") }}, and {{ bug("504220") }}.</li> <li>Geolocation "addresss" support is now available enabling user-readable position information.  See {{ bug("503942") }}.</li> <li>The <code>complete </code>attribute on <code>document.readystate</code> is now supported. {{ bug("347174") }}.</li>
</ul>
<h2>For XUL and add-on developers</h2>
<h3>Places</h3>
<ul> <li>Places queries can now specify whether or not to include redirected pages in results. See {{ bug("428690") }}.</li> <li>Added the new {{ ifmethod("nsIFaviconService", "expireAllFavicons") }} method to the {{ interface("nsIFaviconService") }} interface.</li>
</ul>
<h3>Storage</h3>
<ul> <li>Added support for locale-aware collation of data in Storage. See {{ bug("499990") }}.</li> <li>Support for asynchronously binding multiple sets of parameters and executing a statement has been added. See {{ bug("490085") }}.</li> <li>You can now enumerate properties on a statement. See the <a class="internal" href="/en/mozIStorageStatementParams#Enumeration_of_properties" title="En/MozIStorageStatementParams#Enumeration of properties">Enumeration of properties</a> section of the article on {{ interface("MozIStorageStatementParams") }} for details.</li>
</ul>
<h3>Miscellaneous</h3>
<ul> <li><code>contents.rdf</code> is no longer supported for registering chrome in extensions. You must now use the <a class="internal" href="/en/Install_Manifests" title="en/Install manifests"><code>chrome.manifest</code></a> file instead. See {{ bug("492008") }}.</li> <li>Added support for hiding the menu bar automatically. See {{ bug("477256") }}.</li> <li>Added support for the <code>container-live-role</code> attribute to objects. See {{ bug("391829") }}.</li> <li>The <code>tabs-closebutton</code> binding has been removed. See {{ bug("500971") }}.</li> <li>Added support to {{ interface("nsISound") }} for playing sounds based on events that have occurred. See {{ bug("502799") }}.</li> <li>The syntax for the {{ interface("nsITreeView") }} methods {{ ifmethod("nsITreeView", "canDrop") }} and {{ ifmethod("nsITreeView", "drop") }} has changed to support the new drag &amp; drop API introduced in Gecko 1.9. See {{ bug("455590") }}.</li>
</ul>
<h2>See also</h2>
<ul> <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>
<p> {{ languages( { "ja": "ja/Firefox_3.6_for_developers"} ) }}</p>
Revert to this revision