Just let me clarify that the ClosureCompiler does not fix the issue, it 
just makes it less frequent.

The issue is so weird that you can load a GWT page without any error and 
then just reload the same page to find that now GWT javascript crashes.  
And then reload again and its OK.  It's completely random.


El martes, 6 de noviembre de 2012 19:51:51 UTC+1, Óscar Frías Barranco 
escribió:
>
> 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/-/rBbwWMr2GEMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to