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.2.0.424 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)}; This is a regression as 10.1.0.1429 does not show the same error.
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.2.0.424 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)};
This is a regression as 10.1.0.1429 does not show the same error.