ie8 problem with gwt 2.4?

2,703 views
Skip to first unread message

macagain

unread,
Sep 14, 2011, 7:36:36 PM9/14/11
to google-we...@googlegroups.com
Is anyone else have a problem with IE8 on GWT2.4?

I'm running in standards mode <!doctype html>

exactly the same code worked fine on GWT2.3... with that F12 dev tools showed:
Browser Mode: IE8
Doc Mode: IE8 Standards

but on GWT2.4, the page errors in the generated js, doesn't load, and F12 dev tools shows:
Browser Mode: IE8 Compatibility Mode
Doc Mode: IE7 Standards

and yes:
- user-agent properties the same in both (in fact using whatever is in UserAgent.gwt.xml
- i clean'd
- everything works fine in ie9

thanks!

Vish

unread,
Sep 18, 2011, 10:31:32 PM9/18/11
to Google Web Toolkit
I am also getting the same error using GWT 2.4 on IE8 and specifying
user agent property in gwt.xml for ie8.

Vish

unread,
Sep 18, 2011, 11:09:01 PM9/18/11
to Google Web Toolkit
Workaround :
set the following property in your gwt.xml.
<set-configuration-property name="user.agent.runtimeWarning"
value="false"/>
The error/warning does not appear.

But not sure how much it impacts the application, because it is
suppressing the warning/error.
> > thanks!- Hide quoted text -
>
> - Show quoted text -

guillaume prime

unread,
Sep 23, 2011, 5:17:50 AM9/23/11
to Google Web Toolkit
I have the same problem, if I compil only for IE8 it work fine, but if
I want to compil for IE6, IE8, FF and Chrome, I have an error on IE8

It work ONLY on IE8 :

<inherits name="com.google.gwt.user.UserAgent"/>
<set-property name="user.agent" values="ie8" />
<set-configuration-property name="user.agent.runtimeWarning"
value="false"/>

It doesn't work on IE8, but work on FF and Chrome :

<inherits name="com.google.gwt.user.UserAgent"/>
<!-- IE -->
<set-property name="user.agent" value="ie6" />
<extend-property name="user.agent" values="ie8" />
<!-- FF -->
<extend-property name="user.agent" values="gecko1_8" />
<!-- CHROME -->
<extend-property name="user.agent" values="safari" />
<set-configuration-property name="user.agent.runtimeWarning"
value="false"/>


Do you have the same problèm ?

guillaume prime

unread,
Sep 26, 2011, 3:53:35 AM9/26/11
to google-we...@googlegroups.com
We can see the problem on the GWT Showcase :

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; chromeframe/14.0.835.186; .NET CLR 1.1.4322; InfoPath.1)
Timestamp: Mon, 26 Sep 2011 07:52:05 UTC


Message: Object doesn't support this property or method
Line: 1532
Char: 127
Code: 0
URI: http://gwt.google.com/samples/Showcase/showcase/56292F4D7C74D54F38D6A0131076ACC5.cache.html

Why the user agent is "Mozilla (compatible IE8)" ?

Chi Hoang

unread,
Sep 26, 2011, 12:23:41 PM9/26/11
to Google Web Toolkit
Based on your user-agent, it seems like you have chrome frame
installed.
GWT 2.4 added detection of chrome frame, and uses the safari user
agent if it is installed and enabled.



On Sep 26, 1:53 am, guillaume prime <guillaume.pr...@gmail.com> wrote:
> We can see the problem on the GWT Showcase :
>
> Webpage error details
>
> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0;
> chromeframe/14.0.835.186; .NET CLR 1.1.4322; InfoPath.1)
> Timestamp: Mon, 26 Sep 2011 07:52:05 UTC
>
> Message: Object doesn't support this property or method
> Line: 1532
> Char: 127
> Code: 0
> URI:http://gwt.google.com/samples/Showcase/showcase/56292F4D7C74D54F38D6A...

Chi Hoang

unread,
Sep 26, 2011, 1:52:33 PM9/26/11
to Google Web Toolkit
If Chrome-frame is not enabled on your page and you have it installed
in your browser, you are most likely running into this issue

http://code.google.com/p/google-web-toolkit/issues/detail?id=6665

guillaume prime

unread,
Sep 27, 2011, 5:21:31 AM9/27/11
to Google Web Toolkit
Yes, it was the problem !

I modify my module XML file with :

<!-- Custom UserAgentPropertyGenerator without test on Google Frame --
>
<property-provider name="user.agent"
generator="org.prime.client.useragent.MyUserAgentPropertyGenerator"/>

<!-- Mask error message -->
<set-configuration-property name="user.agent.runtimeWarning"
value="false"/>

<!-- IE -->
<set-property name="user.agent" value="ie6" />
<extend-property name="user.agent" values="ie8" />
<!-- FF -->
<extend-property name="user.agent" values="gecko1_8" />
<!-- CHROME -->
<extend-property name="user.agent" values="safari" />


Thanks a lot !
Reply all
Reply to author
Forward
0 new messages