> > When it is changed to ie8 as following, it gets the Uncaught exception > escaped Error when I launch it with the host mode browser. > <set-property name="user.agent" value="ie8" /> >
Well, you are telling GWT "compile only for IE8", and then using the hosted mode browser (which is and old version of firefox). As a result, GWT ends up using Activex to instantiate XmlHttpRequest, which obviously doesn't exist in firefox. You should either remove the user.agent property from your module.gwt.xml, or compile and deploy your application and then test with IE8. --Sri On 28 April 2010 04:50, BGL <[email protected]> wrote: > GWT1.7 is supposed to support IE8. > > In the module's gwt.xml file, it is working fine with the property > setting for IE6. > <set-property name="user.agent" value="ie6" /> > > When it is changed to ie8 as following, it gets the Uncaught exception > escaped Error when I launch it with the host mode browser. > <set-property name="user.agent" value="ie8" /> > > [ERROR] Uncaught exception escaped > com.google.gwt.core.client.JavaScriptException: (TypeError): > 'XMLHttpRequest' is undefined > number: -2146823279 > description: 'XMLHttpRequest' is undefined > at > > com.google.gwt.user.client.impl.HTTPRequestImpl.doCreateXmlHTTPRequest(Native > Method) > at > > com.google.gwt.user.client.impl.HTTPRequestImpl.createXmlHTTPRequest(HTTPRequestImpl.java: > 53) > > Any suggestion? > > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
