[Browser] Fix or workaround for wrong user agent HTTP header in embedded IE10? [message #1403337] |
Wed, 23 July 2014 05:36 |
Eclipse Guest Messages: 93 Registered: February 2013 Location: Vienna |
Member |
|
|
Hi,
There's a bug report (https://bugs.eclipse.org/bugs/show_bug.cgi?id=404543) regarding IE10 browser running in the incorrect compatibility mode. The bug is marked as fixed for 4.4, however IE10 on Win7 64 is still reporting the wrong user agent HTTP header for SWT 4.4, which breaks the browser detection on any website that uses it to determine feature compatibility.
Pasting the message from the bug report here in the hope that someone may have an idea for a fix or workaround:
---------------------------------------------
SWT 4.4RC4 (both 32 and 64 bit) still appears to be reporting an IE9 User-Agent string within HTTP requests when embedding IE10. This is in a Windows 7 64bit install, where the registry key described above (HKLM\Software\Microsoft\Internet Explorer\svcVersion) does actually indicate a 10.* value, so not sure why the wrong version is still being picked up after the SWT fix. The correct user agent (MSIE 10.0) is being reported via navigator.userAgent in JavaScript, but unfortunately many websites use the HTTP header (or any user agent string for that matter) to assume browser compatibility. The -Dorg.eclipse.swt.browser.IEVersion=10000 workaround mentioned above also doesn't have any effect.
On the plus side, SWT 4.4RC4 in IE11 Windows 7 32bit reports the correct HTTP User-Agent string.
Any ideas on fixes for IE10? Thanks for your efforts with this, they are much appreciated.
------------------
|
|
|
|
Powered by
FUDForum. Page generated in 0.02697 seconds