[webstorage] How to handle non-DOMString values? (#4)

Can we clarify how to handle things like this:

```javascript

var obj = {};
localStorage.setItem('obj', obj);
```

Many browsers will auto-convert this to a JSON string (which seems reasonable). The problem is, when you get the value back out it's unclear what type it should be. Is this just an unsupported quirk or should the standard define how to handle this?

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webstorage/issues/4

Received on Monday, 8 June 2015 19:37:19 UTC