June 30th, 2011
Standardized test suites are important for Web interoperability and enabling the same markup to work consistently across browsers and devices. ISO ratification unblocks some government agencies. We congratulate the committee and the standards bodies for achieving this important milestone.
Comprehensive test suites that come from a standards body working with the community are crucial for the Web, and Web interoperability, to make progress.
You can see how closely the tests and the spec align:
The test262 site continues to be a work in progress, and TC39 members are still developing the test suite. While the suite is not complete yet, it is interesting to note how interoperable some of the same script is across different browsers:
We welcome your feedback. You can find the test cases Microsoft has developed at the IE Testing Center.
Web Workers: Running test262 Faster
You can use Web Workers to run test262 even faster. To demonstrate the promise of Web workers to make the Web faster overall, we’ve published a test drive that runs the tests from the standards body using Web workers.
Helpful Posts for Developers
For reference, here are recent blot posts covering the new features and developer productivity that come with ECMAScript 5:
- ECMAScript 5: Reusable code
- ECMAScript 5: Arrays Extras
- Exploring ECMAScript 5 with a Simple Game of Poker
Developers have great opportunities as the industry builds out more interoperable Web technologies. To take advantage of them, we recommend that developers test their sites in IE9 Standards Mode and try out ES5. The source code of test drive samples are a good starting point: ES5 Arrays, ES5 Breakout, an ES5 enabled version of Poker, and in IE10 Platform Preview TryStrict as well as the WebWorker harness for test262.