InfoQ

News

Microsoft Releases JavaScript Compatibility Study for IE, Firefox, Opera, and Safari

Posted by Jonathan Allen on Oct 31, 2007 12:23 PM

Community
.NET,
Ruby,
Java
Topics
Web 2.0,
Javascript
Tags
Standardization

Historically JavaScript compatibility has been a major problem for web developers. Variations between the official spec, the de-facto standard, and the various implementations have kept many a developer up all night. The end result is that many web pages don't work equally well, or at all, across browsers.

Microsoft's JScript team, keenly aware that they are part of the problem, write:

The point is that JavaScript developers shouldn’t have to detect and workaround such issues. JavaScript should work the same across all implementations. We believe this is the first step in making JavaScript better.

To make it possible to achieve such implementation conformance, the first step is knowing where the divergences are. We in the JScript team are looking into where various browser based implementations diverge, where our engine is incorrect in its interpretation of the specification, what if any de facto compatibility conventions have been reached, and the value of codifying such conventions into the standard. We’ve published the first draft of JScript Deviations from ES3 as a starting point.

The document's title, "JScript Deviations from ES3", is a bit of a misnomer. This document covers not only IE, but also the JavaScript implementations found in Firefox, Opera, and Safari. This is an in-depth study of the spec with a point by point comparison between what is suppose to happen and what actually does, for all four browsers.

2 comments

Reply

This is the most beautiful ugly document I've ever seen. by John DeHope Posted Nov 1, 2007 6:46 AM
Kudos to Microsoft by Rob Hasselbaum Posted Nov 1, 2007 9:41 AM
  1. What an ugly document. I don't think they used word 2007 to write this. Where the pretty new fonts? Where's Consolas? I was hoping to never have to see Courier New ever again. And no syntax highlighting? Kvetching aside, seeing a document like this come from MS is a dream come true. Now they can continue this excellent trend by... releasing fixes for all of these problems in SP3 for XP and SP1 for Vista!

  2. Back to top

    Kudos to Microsoft

    Nov 1, 2007 9:41 AM by Rob Hasselbaum

    Kudos for Microsoft for taking a cooperative attitude here. Even better if it leads to real change.

Exclusive Content

Agile in Practice: What Is Actually Going On Out There?

Scott Ambler talks about actual data resulting from surveys made during 2006-2008, showing how Agile is perceived and implemented within organizations.

Building Smart Windows Applications

From QCon 2008, Daniel Moth presents on using Visual Studio 2008 and .NET 3.5 to create compelling rich Windows applications.

Joshua Kerievsky about Industrial XP

Joshua Kerievsky, founder of Industrial Logic, talks about Industrial Extreme Programming which extends XP by including practices dealing with management, customers and developers.

Jeff Barr Discusses Amazon Web Services

Amazon Web Services (AWS) Evangelist Jeff Barr discusses SimpleDB, S3, EC2, SQS, cloud computing, how different Amazon services interact, origins of AWS, AWS globalization and the March AWS outage.

More Than Just Spin (Up) : Virtualization for the Enterprise and SaaS

Cloud services have helped bring virtualization to the forefront. Its full power however, also includes other benefits such as high availability, disaster recovery, and rapid provisioning.

Ruby Beyond Rails

John Lam talks about his path to dynamic languages, some of the problems of making IronRuby run fast, and how the DLR helps with implementing languages.

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.

Architectures of extraordinarily large, self-sustaining systems

Can a system that is so large it cannot be comprehended be "designed" in a conventional sense? The foundations of computing are about to change. In this talk, Richard P. Gabriel explores why and how.