-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
frog fails on local storage demo #822
Comments
Can you add some info on where this is failing? Do you see any errors on the JS console? |
There are exceptions in the JS console. I don't have them handy now, but |
Hmm, the problem is that the Storage.dartObjectLocalStorage "field" is broken for this type. On every other DOM type, we create an expando. Here, we actually define something in LocalStorage with "dartObjectLocalStorage" as a key. The dart:html layer relies on this field working correctly. Still investigating how to workaround this. |
Issue #842 has been merged into this issue. |
Issue #828 has been merged into this issue. |
Note, the same bug occurs with sessionStorage (bug 828, merged in). |
Note, we can workaround this quickly in dart:html by avoiding the Storage.dartObjectLocalStorage "field". But, I'd prefer to make this field work properly. Running into some frog issues there. |
Vijay, can we get an update on this? |
Getting back to this now. Added Accepted label. |
Fixed in 3204. Added Fixed label. |
Revision: r2354
This application runs fine on dartc, but fails on frog.
I've attached the failing code when compiled by frog.
After discussion with sra@, I am betting this is a problem with DOM libs rather than an issue with frog itself
Attachments:
LocalStorage.html (209 Bytes)
LocalStorage.dart (1.02 KB)
LocalStorage.dart.app.js (137.83 KB)
The text was updated successfully, but these errors were encountered: