Update on GWT support for IE9

Posted by Unknown - Friday, March 18, 2011 at 6:14:00 AM

In keeping with the GWT philosophy of making it possible to write no-compromise AJAX in any modern browser, GWT 2.3 (in progress) will support IE9. We're adding a new user.agent property "ie9" and the notion of fallback properties, so any browser-specific bindings not yet implemented in ie9 will fall back to ie8 and show a compile-time warning that a fallback impl was used.

In the mean time, you can tell IE9 to behave as IE8 by inserting the following in the head section of your GWT host page:

<meta http-equiv="X-UA-Compatible" content="IE=8" />

Assuming that IE continues to maintain backward compatibility, you may want to insert the equivalent tag for IE9 once GWT 2.3 ships in order to make your app somewhat future-proof for future IE versions. For more information on document compatibility in Internet Explorer, see http://msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx

The IE9 dev mode issue reported back in Dec is fixed in GWT 2.2.0: http://googlewebtoolkit.blogspot.com/2010/12/support-for-gwt-dev-mode-in-ie-9.html

You can follow the status of known IE9 issues here:

12 comments:

dms said...

Can you tell us when gwt 2.3 is expected to be released?

Lars Gunther (itpastorn) said...

Here is a brave idea. Embrace best practices and do capability testing instead of browser sniffing...

rastrano said...
This comment has been removed by the author.
rastrano said...

This is "yet another confirmation " that IE9 will su*k like the previous releases (or wrost because this time they did also a cool campagin to say that IE9 is a modern and shiny brwoser)

Oh my god! Hard times are coming...

When microsoft will stop to kill webdevelopers lifes?

We can pay them to leave the idea of developing a browser, they are good with many things, but please, please, don't invest efforts in developing browsers.

Tim Sneath said...

Rastrano, I'd love to understand why this is the fault of IE9. As Lars notes, the right approach is to do feature testing rather than sniffing for a specific browser version. The latter provides fragile support that assumes that no browser ever ships a new version.

deborah0302 said...

I'm with Rastrano. These people can not build a browser.

Jim Ramia said...

I hate IE

Web Master ldi said...

Its really very helpful. I'm going to try.


web development services

http://www.halffry.com said...

Generally I don't use IE, but its useful in many tasks which is not possible in other browsers. I used google toolbar well working in it. I guess I'll use ninth version.

agentorange said...

any word on when the 2.3 beta will become public? I would really love to test my project against IE9.

Anyway, thanks for the great work Google.

rafaelwmartins said...

My GWT project (compiled) is not working on IE9 even with the mentioned tag. Works fine in IE8.

Jerome Lambourg said...

It looks weird to fallback to IE8 as IE9 is much closer to any other browser than IE8: I just modified the user-agent of IE9 to mimic konqueror or Opera for example, and my GWT site then just worked fine out-of-the-box, as well as many other web sites.