Skip to content
This repository was archived by the owner on Sep 4, 2019. It is now read-only.
This repository was archived by the owner on Sep 4, 2019. It is now read-only.

LocalStorage limit incorrect #684

Description

@rtholmes

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions