Open rtholmes opened 11 years ago
https://developer.blackberry.com/html5/api/localstorage.html
Specifies that bb10 allows up to 25 MB to be written to the local storage, but on BB v10.1.0.4181 I see:
`ERROR: (QUOTA_EXCEEDED_ERR): QUOTA_EXCEEDED_ERR: DOM Exception 22``
when writing a small string to a local store that contains 4.9917 MB of data.
The total was computed with:
var total = 0; for(var x in localStorage) {var val = ((localStorage[x].length * 2)/1024/1024); if (val > 0.1) console.log(x+" "+val)};
The docs should be updated to reflect that the 5 MB limit remains with BB10 (or that it was changed for some future version, if this is the case).
https://developer.blackberry.com/html5/api/localstorage.html
Specifies that bb10 allows up to 25 MB to be written to the local storage, but on BB v10.1.0.4181 I see:
`ERROR: (QUOTA_EXCEEDED_ERR): QUOTA_EXCEEDED_ERR: DOM Exception 22``
when writing a small string to a local store that contains 4.9917 MB of data.
The total was computed with:
The docs should be updated to reflect that the 5 MB limit remains with BB10 (or that it was changed for some future version, if this is the case).