Tuesday, November 6, 2012

Re: GWT app crashing on iOS 6

Hi again.

We have found that compiling with -XenableClosureCompiler hides the problem or at least mitigates it.

I have no idea about what Closure Compiler does to GWT generated javascript but apparently it is hiding iOS6 browser issues.

Oscar


El martes, 6 de noviembre de 2012 11:15:10 UTC+1, Óscar Frías Barranco escribió:
Hello.

Our GWT application crashes when running on an iPad with iOS 6.0.1.

This is not related to the POST caching issue because we already added Cache-Control and Expires headers to GWT RPC replies and now they are not cached.

We have "debugged" the app by adding Window.alert() calls and we have found that it crashes (randomly, not always) in places like:

HashSet.add() method
RootPanel.add() method (which includes a HashSet.add() call)
ConstantsWithLookup.getString()


It looks like iOS 6 Javascript engine has some issues, so maybe GWT is being bitten by these errors too:

http://stackoverflow.com/questions/12534409/ios-6-javascipt-intermittent-issues-with-object-defineproperty


Any ideas?

Thanks,
Oscar


--
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/-/TJmqenJ1bKMJ.
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