GWT IE9 simulation IE8

So I have a GWT application that works perfectly in IE6-8 and most modern browsers. Unfortunately, due to how IE9 handles the change event on These elements are almost unusable in IE9.

So, I did not let our customers downgrade to IE8, but let IE9 imitate IE8. I put this meta tag on my GWT homepage:

 

When I check the IE9 Developer Tools (F12), I found that its “Browser Mode” is IE9, and the “Document Mode” is IE8 standard. However, the GWT application cannot be loaded: it is in GWT A JavaScript error was given in one of the generated compressed and obfuscated JavaScript functions. I don’t have the ability to debug into the application through IE, so I can’t figure out what’s going on.

I suspect it is related to GWT The way to detect which browser is being used is related, and load the appropriate resources for the session.

Edit to add: When I try to use IE=8 instead of IE=EmulateIE8, the developer tools still report IE9/IE9 Standard mode, and when I run in vanilla IE9, all the same onchange event problems exist.

Is there a working way to make IE9 emulate the IE8 standard mode in the way of http-equiv meta tags, this Used with GWT 2.4?

I have a similar problem: IE is ignored tag ( I tried to prevent IE8 from displaying the page in IE7 compat mode). This is because there is no X-UA-Compatible meta as the first child of . I set it as the first child of . And add < ! DOCTYPE HTML>On top of everything, it works.

Leave a Comment

Your email address will not be published.