Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

dartObjectLocalStorage doesn't work with window.localStorage #842

Closed
nex3 opened this issue Dec 14, 2011 · 2 comments
Closed

dartObjectLocalStorage doesn't work with window.localStorage #842

nex3 opened this issue Dec 14, 2011 · 2 comments
Assignees
Labels
closed-duplicate Closed in favor of an existing report

Comments

@nex3
Copy link
Member

nex3 commented Dec 14, 2011

window.localStorage serializes all its unknown properties, so when window.localStorage.dartObjectLocalStorage is set it just becomes "[object Object]". If you can set Storage.prototype.dartObjectLocalStorage to anything before the first Storage instance gets wrapped, it should fix the issue.

@DartBot
Copy link

DartBot commented Dec 14, 2011

This comment was originally written by drfibonacci@google.com


Added Triaged label.

@vsmenon
Copy link
Member

vsmenon commented Dec 15, 2011

This is a dup of 822.


Added Duplicate label.
Marked as being merged into #822.

@nex3 nex3 added Type-Defect closed-duplicate Closed in favor of an existing report labels Dec 15, 2011
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

4 participants