Tuesday, November 27, 2012

Cannot use compiler.emulatedStack=true with IE8; will get javascript running slow alert dialog.

GWT: 2.4.0
OS: Windows 7 (64 Bit)
Browser: Internet Explorer 8 (8.0.7601.17514) [Update Versions : 0]

If we enable compiler.emulatedStack in our  .gwt.xml file (so we can get useful stack trackes outside of development) our users get prompted with the alert box asking them if they want to stop the execution of the javascript.  This is making our application unusable by our users. 

What we added to our .gwt.xml file

<set-property name="compiler.emulatedStack" value="true" />
<set-configuration-property name="compiler.emulatedStack.recordLineNumbers" value="true"/>
<set-configuration-property name="compiler.emulatedStack.recordFileNames" value="true"/>

The dialog that our users see:

Windows Internet Explorer

Stop running this script?

A script on this page is causing your web browser to run slowly.  If it continues to run, your computer might become unresponsive.

Yes/No

Are there any other additional settings or things we can do so we can get a useful java-script stack trace by our users?

Thanks.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/x8nKXln9gEUJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment