Vojtech Szocs has uploaded a new change for review.

Change subject: webadmin,userportal: Use X-UA-Compatible with IE=10
......................................................................

webadmin,userportal: Use X-UA-Compatible with IE=10

This patch is meant to address problems when loading
GWT applications in Internet Explorer 11.

IE11 user agent string is missing the "MSIE" part but
instead includes the "like Gecko" part. For example:

  Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko

This causes GWT selector script (*.nocache.js) to pick
and load Firefox (Gecko) permutation of GWT application.

Since IE11 has issues with Gecko permutation [1], the
workaround is to tell IE11 to render page as IE10:

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

[1] http://code.google.com/p/google-web-toolkit/issues/detail?id=8228

This shouldn't affect behavior of GWT applications
when loaded in earlier Internet Explorer versions:
- IE8: selector script uses 'ie8' permutation
- IE9: selector script uses 'ie9' permutation
- IE10: selector script uses highest available
  permutation ('ie9')

Note: there might be issues with IE10 + 'ie9' GWT
permutation combination. These issues should be
addressed as part of GWT upgrade which should add
proper support (permutation) for IE10.

Change-Id: Ifad89cbd057fc63944a09478ed92e29c13a49e04
Bug-Url: https://bugzilla.redhat.com/1062716
Signed-off-by: Vojtech Szocs <[email protected]>
---
M 
frontend/webadmin/modules/frontend/src/main/resources/META-INF/resources/GwtHostPage.jsp
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/80/24480/1

diff --git 
a/frontend/webadmin/modules/frontend/src/main/resources/META-INF/resources/GwtHostPage.jsp
 
b/frontend/webadmin/modules/frontend/src/main/resources/META-INF/resources/GwtHostPage.jsp
index 6179221..466d4b6 100644
--- 
a/frontend/webadmin/modules/frontend/src/main/resources/META-INF/resources/GwtHostPage.jsp
+++ 
b/frontend/webadmin/modules/frontend/src/main/resources/META-INF/resources/GwtHostPage.jsp
@@ -5,7 +5,7 @@
 <html>
 <head>
     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-    <meta http-equiv="X-UA-Compatible" content="IE=edge">
+    <meta http-equiv="X-UA-Compatible" content="IE=10">
     <obrand:favicon />
     <meta name="gwt:property" content="locale=${requestScope['locale']}">
     <obrand:stylesheets />


-- 
To view, visit http://gerrit.ovirt.org/24480
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifad89cbd057fc63944a09478ed92e29c13a49e04
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.3
Gerrit-Owner: Vojtech Szocs <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to