Sunday, October 6, 2019

Re: ClassCastException in some browser, but not others (



On Saturday, October 5, 2019 at 3:36:26 PM UTC+2, Shawn wrote:
Hi,

I get a ClassCastException under Safari, Safari on IOS and Chrome on IOS but not in Chrome.


Just a small note: all browsers on iOS are forced to use Safari's engine (except IIRC they don't have access to some JS engine's optimizations that Safari has), so it's absolutely not surprising that things work the same on Safari iOS and Chrome iOS; and differently between Chrome iOS and Chrome anywhere-else.

Wrt the cast error, it might be that the object in 'result' is not "instanceof $wnd.IDBDatabase". This would be a bug in Safari; and uncheckedCast is indeed the workaround.

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/3fa20f81-28e0-40e5-878d-9ea0a5ba8dcf%40googlegroups.com.

No comments:

Post a Comment