Feeds

Microsoft to search browsers for JavaScript compatibility

Online irony

The Power of One eBook: Top reasons to choose HP BladeSystem

Microsoft's Internet Explorer unit has started the Herculean - and ironic - task of identifying which leading browsers work properly with JavaScript.

The company's JScript development team has promised to crawl through the guts of Internet Explorer 7, Firefox 2.0.0.5, Opera 9.02 and Safari 3.0 running on the 32-bit edition of Windows XP SP2 and publish a series of meaty reports highlighting where each browser diverges from the ECMAScript Language Specification 3rd Edition - better known as JavaScript.

The move seems part of Microsoft's on-going job to make up for deficiencies in the way IE 7.0's engine works with JavaScript and to possibly retro fit grass-root work-arounds into the standard, to improve the way JavaScript works with browsers.

JScript team member Pratrap Lakshman said Microsoft would look to see what - if any - "de facto compatibility conventions have been reached, and the value of codifying such conventions into the standard."

JavaScript has become important to developers and vendors thanks to the popularity in rich internet applications (RIAs), despite pre-dating the Web 2.0 boom.

Despite industry rhetoric and bluster about standards, the problem is that since the JavaScript standard landed on the technology stage some eight years ago different browsers have implemented certain portions in subtly different ways. That's created problems for application developers, who do not know which browsers users will employ to access their software or service.

Highlighting some examples here, Lakshman believes that those awfully nice people at Microsoft can help solve the problem by charting the differences and feeding them back into the official standard. "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," Lakshman blogged.

Of course, there's no word on what steps Microsoft plans to take to feed "de facto compatibility conventions" back into the official standard.

Those taking a less charitable view of Microsoft's actions might see this as the latest attempt to set industry standards around a piece of its software, while also taking a unique step towards solving unresolved and deep seated compatibility problems in IE.

Microsoft's browser is renowned as being a basket case on standards compliance, being less compliant than other leading standards in recent years according to the group monitoring this issue - The Web Standards Project (WASP).

Earlier this year, Microsoft went as far as to suggest it might give up even trying to maintain standards compatibility and turn the whole standards issue on its head by devising a "compatible with IE" scheme for the next version of Explorer.

The work identifying "de facto compatibility conventions" could see Microsoft stretch IE to fit what's working in the market, and then force the official standard to fit Microsoft's own implementation.

The JScript team's first report can be downloaded here. ®

Reducing security risks from open source software

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
Captain Kirk sets phaser to SLAUGHTER after trying new Facebook app
William Shatner less-than-impressed by Zuck's celebrity-only app
Apple fanbois SCREAM as update BRICKS their Macbook Airs
Ragegasm spills over as firmware upgrade kills machines
Cheer up, Nokia fans. It can start making mobes again in 18 months
The real winner of the Nokia sale is *drumroll* ... Nokia
Mozilla fixes CRITICAL security holes in Firefox, urges v31 upgrade
Misc memory hazards 'could be exploited' - and guess what, one's a Javascript vuln
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Google shows off new Chrome OS look
Athena springs full-grown from Chromium project's head
Apple: We'll unleash OS X Yosemite beta on the MASSES on 24 July
Starting today, regular fanbois will be guinea pigs, it tells Reg
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Designing a Defense for Mobile Applications
Learn about the various considerations for defending mobile applications - from the application architecture itself to the myriad testing technologies.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.