Firefox 3 RC1 Adds Javascript 1.8, Microformat Support and More

| by Nick Laiacona Follow 0 Followers on May 22, 2008. Estimated reading time: 1 minute |

The Mozilla project has released Firefox 3 Release Candidate 1 (RC1). New features in Firefox 3 include support for Javascript 1.8, DOM and HTML changes, microformats support, and an extended Canvass implementation.

Mozilla Corporation continues its march toward Javascript 2.0 with the implementation of features from the Javascript 1.8 specification. New feature include: expression closures, generator expressions, and native JSON encoding and decoding. Expression closures are a shorthand method of defining simple functions that mimics lambda notation. Generator expressions make it possible to create generators without defining a custom function. JSON encoding and decoding formalizes into the language itself a now ubiquitous feature in Javascript libraries such as Prototype and jQuery.

The major changes to HTML and the DOM in Firefox 3 are related to security improvements and standards compliance. The Firefox team fixed a security hole that allowed frames and iframes to inherit the parent document's character set. They also addressed vulnerabilities in chrome access by remote hosts and file uploading. New features from the HTML 5 specification are also present in Firefox 3 such as improved drag-and-drop support and new DOM attributes related to focus management.

Firefox 3 has a new global Microformats object accessible to Javascript developers. This API handles the discovery and parsing of some common microformats: adr for address information, geo for spatial coordinates, hCard for contact information, hCalender for calender appointments, and tag which according to the documentation "is used to add tags to other microformats."

Firefox 3 extends the canvass element beyond the official WHATWG specification. Namely, it now provides facilities for drawing text on a canvass surface. Firefox 3 also now supports transformation functions for the canvass objects.

There are additional features in Firefox 3 RC1, include animated PNG (APNG) support. Further details are available at the Mozilla Developer Center. Firefox 3 RC1 can be downloaded from the project website.

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread
Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread


Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you