Hello,
I'm not quite sure if I'm doing something wrong or not, but in the package.json manifest I set the following property:
"dom_storage_quota": 1000
Now, that's in megabytes, yet I still end up with an error when adding things to storage:
Error: An attempt was made to add something to storage that exceeded the quota.
Now, the total length of the string I'm storing is:
localStorage.storage.length
10449325
Now, that doesn't seem like 1000 MB worth of data!
Neither does what I'm trying to add to it:
JSON.stringify(data).length
16466842
So, is this a bug, or is the dom_storage_quota not for the localStorage quota, but for one of the other storage API's instead?
Thank you for any help you can provide! I'm using the 0.8.3 version of node-webkit:
process.versions["node-webkit"]
"0.8.4"
James