Loading...
Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon
TUTORIAL

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

WebBrowser.getBrowserMajorVersion returns ie7 when using ie8

Tero Kaarrela
1 decade ago May 26, 2010 6:37pm
Henri Sara
1 decade ago May 27, 2010 6:26am

I believe IE is running in IE7 compatibility mode in the latter case.

This might be related either to the configuration of your server (telling explicitly the browser to use the compatibility mode in the headers or in the content of the pages sent) or to something else on the page that makes IE8 "guess" it should use the compatibility mode. The rules based on which IE8 chooses the compatibility mode are quite complicated, you can search the web for more information.

Tero Kaarrela
1 decade ago May 27, 2010 6:34pm