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:

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
To view this discussion on the web visit

No comments:

Post a Comment