Closed Bug 1157318 Opened 9 years ago Closed 6 years ago

Add a method to calculate the asyncStorage size in Bytes

Categories

(Firefox OS Graveyard :: Gaia, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: general, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0
Build ID: 20150407092223




Expected results:

Add a "size" method to calculate the size of the indexedDB database in Bytes.

Example usage:

asyncStorage.size(function() {
  alert(total/1024) // Convert Bytes to Kilobytes
});

See https://github.com/mozilla-b2g/gaia/pull/29666
Severity: normal → enhancement
Component: Gaia::System → Gaia
OS: Unspecified → All
Hardware: Unspecified → All
Firefox OS is not being worked on
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: