From 9bb8e5c4cbf6adba3beaa87c6447e3f2866695fe Mon Sep 17 00:00:00 2001 From: Knoobie Date: Thu, 10 Aug 2017 07:54:36 +0200 Subject: Remove Chrome Frame support from X-UA-Compatible (#9270) Remove Chrome Frame specific part of X-UA-Compatible but keep the meta tag to override compatibility mode settings where applicable. --- server/src/main/java/com/vaadin/server/BootstrapHandler.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'server') diff --git a/server/src/main/java/com/vaadin/server/BootstrapHandler.java b/server/src/main/java/com/vaadin/server/BootstrapHandler.java index 13a4852164..1cba25fbf6 100644 --- a/server/src/main/java/com/vaadin/server/BootstrapHandler.java +++ b/server/src/main/java/com/vaadin/server/BootstrapHandler.java @@ -516,11 +516,8 @@ public abstract class BootstrapHandler extends SynchronizedRequestHandler { head.appendElement("meta").attr("http-equiv", "Content-Type").attr( "content", ApplicationConstants.CONTENT_TYPE_TEXT_HTML_UTF_8); - /* - * Enable Chrome Frame in all versions of IE if installed. - */ - head.appendElement("meta").attr("http-equiv", "X-UA-Compatible") - .attr("content", "IE=11;chrome=1"); + // Force IE 11 to use IE 11 mode. + head.appendElement("meta").attr("http-equiv", "X-UA-Compatible").attr("content", "IE=11"); Class uiClass = context.getUIClass(); -- cgit v1.2.3