mozilla-b2g/gaia — pull request #4113 by davidflanagan (2012-08-29 21:40:11+00:00)
Title: async replacement for localStorage, plus unit tests

This is a async version of localStorage, backed by IndexedDB. The API is similar to localStorage, but is async. There are simple unit tests that pass.

I'd like to land it in shared/js/, so that the apps that use shared/js/mediadb.js can use this. (mediadb currently uses localStorage, but I'll change it to use asyncStorage instead.)

@vingtetun: would you review, please?