-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IndexedDB Broken in iOS 13 Mobile Safari #132
Comments
I confirmed this is an Elemental2 problem. I'm using 1.0 RC1 since I can't use 1.0 due to GWT 2.9 not really existing yet. |
You can try a non-official release of elemental2 to see if that fixes your problem. See https://groups.google.com/forum/#!msg/google-web-toolkit/IgsSl2WVhzo/OXjZRpV_AwAJ for the last one that is compatible with gwt 2.8.2 |
@realityforge - Thanks for the recommendation. This also doesn't work. I'm at a loss. Anyone else on this board having the same problem with Mobile Safari? |
I ended up temporarily going back to using JSNI to interact with the raw JavaScript instead of using IndexedDB through Elemental2/JsInterop. It would be very helpful to know if others can reproduce this and maybe why this is happening. Anyone else willing to volunteer to see if they can replicate? |
What code do you use in your jnsi snippet? |
This works: But this doesn't: |
I need a bit more context. Could you give us a small code snippet that we can use for reproducing the error? And a code snippet where it works? |
Julien - Sorry. Here's some more code that makes sense: This works (JSNI):
This does not work (Elemental2):
|
Were you able to reproduce? |
1 similar comment
Were you able to reproduce? |
Not yet. I just wanted to have a reproducible example. That will help when I take a look at this bug |
Were you able to reproduce? |
So I won't be able to reproduce the problem as I don;t have access to an environment with iOS 13 mobile safari. But we can try to debug together. "AbortError: The operation was aborted" is a generic error meaning that the operation has been aborted due to another error. Don't you have another stacktrace in your log? |
That's correct. The JSNI counterpart for it works fine though. |
So do you have another stacktrace/error in your log? |
Since upgrading to iOS 13.1.2, Mobile Safari seems to dislike my implementation of IndexedDB through Elemental2. I'm specifically getting the error of "AbortError: The operation was aborted" when attempting to either open the IndexedDB or executing onupgradeneeded. Everything seems to work fine on iOS 12. So was there an update to Mobile Safari's IndexedDB implementation in the latest rounds of updates? I can't seem to find any documentation on it. I know this may be a bit out of scope for Elemental2... but I want to find out if this is specific to Elemental2 or the underlying JavaScript.
I am finding that it's failing on this line:
IDBDatabase db = (IDBDatabase) openDbRequest.result;
Thanks.
The text was updated successfully, but these errors were encountered: