Reputation: 97
Is it possible to access the IndexedDB API in Firefox 4.0b6? If so, how? window.indexedDB is not defined. Currently working off of this example:
http://hacks.mozilla.org/category/indexeddb/as/complete/
Upvotes: 0
Views: 1128
Reputation: 61
You could also check out http://nparashuram.com/ttd/IndexedDB/index.html for specific examples on IE, FF and CHrome
Upvotes: 1
Reputation: 73091
This information is difficult to find but it's called moz_indexedDB
until the standard is further along: http://blog.dankantor.com/post/1018704095/ah-need-to-use-window-moz-indexeddb-instead-of
console.log("window.indexedDB: " + window.indexedDB);
window.indexedDB: undefined
console.log("window.moz_indexedDB: " + window.moz_indexedDB);
window.moz_indexedDB: [object IDBFactory]
Upvotes: 2