InfoQ

News

Firefox 3 RC1 Adds Javascript 1.8, Microformat Support and More

Posted by Nick Laiacona on May 22, 2008 05:00 PM

Community
Java
Topics
Web 2.0 ,
Release ,
Rich Internet Apps ,
Javascript
Tags
Firefox ,
Microformats

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.

No comments

Reply

Exclusive Content

Ruby.rewrite(Ruby)

In this RubyFringe talk, Reginald Braithwaite writes Ruby code to read, write, and rewrite Ruby. Demos include extending Ruby with conditional expressions, call-by-name and more.

Book Except and Interview : Aptana RadRails, An IDE for Rails Development

Aptana RadRails: An IDE for Rails Development by Javier Ramírez discusses the latest Aptana RadRails IDE, a development environment for creating Ruby on Rails applications.

Fast Bytecodes for Funny Languages

Cliff Click discusses how to optimize generated bytecode for running on the JVM. Click analyzes and reports on several JVM languages and shows several places where they could increase performance.

Scott Ambler On Agile’s Present and Future

Scott Ambler, Practice Lead for Agile Development at IBM, speaks on the current status of the Agile community and practices having a look at the perspective of the Agile’s future.

Manager's Introduction to Test-Driven Development

Dave Nicolette and Karl Scotland try to introduce non-technical managers to one of the most popular Agile development techniques: Test-Driven Development (TDD).

Structured Event Streaming with Smooks

Smooks is best known for its transformation capabilities, but in this article Tom Fennelly describes how you can also use it for structured event streaming.

How to Work With Business Leaders to Manage Architectural Change

Successful architectures evolve over time to meet changing business requirements. Luke Hohmann presents how to collaborate with key members of your business to manage architectural changes.

Colors and the UI

In this article, Dr. Tobias Komischke explains how colors used in a GUI can influence our interaction with a computer and offers advice on using the appropriate colors for the interface.