3 ms·
indexedDB is available with an entirely async API. Bring on the callbacks!
by tyre 13y ago
indexedDB is available with an entirely async API. Bring on the callbacks!
- daleharvey 13y agoYup, we have a shared helper in Firefox OS on top of IndexedDB that all the apps use (localStorage is as close to banned as it can be) (https://github.com/mozilla-b2g/gaia/blob/master/shared/js/async_storage.js https://github.com/mozilla-b2g/gaia/blob/master/shared/js/as...) However thats fine when you are building your own apps, but I meant as a long term solution to the web platform, if localStorage needs disabled on one platform in favour of a propietary API, maybe its best to replace it with a non proprietary web api