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
Rich Internet Apps ,
Web 2.0 ,
Javascript ,
Release
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

Watch Thread Reply

Educational Content

Bindings, Platforms, and Innovation

This presentation focuses on the Internet and separating myth from fact, history from the future, and the mundane from the imaginative. Bob Frankston presents a vision of what could and should be.

Orchestrating Long Running Activities with JBoss / JBPM

This article explores the use of JBoss and jBPM to implement design solutions that effectively address the issue of orchestrating long running activities.

Neo4j - The Benefits of Graph Databases

This presentation covers the use of graph databases as an optimal solution for data that is difficult to fit in static tables, rapidly evolving data or data that has a lot of optional attributes.

Realistic about Risk: Software development with Real Options

This session introduces Real Options and shows how it can help in running your project. Real Options is a decision-making process that can be used to manage risk.

Communication Flexibility Using Bindings

This article discusses the use of bindings on services and references (including the instance of non-configured bindings) as the means to implement SCA communications in a Web and SOA environment.

Writing DSLs in Groovy

After a short introduction to DSLs, Scott Davis plays with the keyboard showing how to approach the creation of a DSL by typing working snippets of Groovy code that get executed.

Scaling Agile with C/ALM (Collaborative Application Lifecycle Management)

IBM Rational and InfoQ present, Scaling Agile with C/ALM, an eBook showing organizations how to become “finely tuned software delivery machines” by enabling team integration and scaling.

Concurrent Programming with Microsoft F#

Amanda Laucher presents a real life enterprise application written in F#. She shows actual code snippets, explaining design decisions and suggesting how to use some of the F# constructs.