awt
awt

Reputation: 97

Firefox 4.06b IndexedDB support

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

Answers (4)

pkario
pkario

Reputation: 2220

Firefox 4b10: mozIndexedDb

Chrome 10: webkitIndexedDb

Upvotes: 0

axemclion
axemclion

Reputation: 61

You could also check out http://nparashuram.com/ttd/IndexedDB/index.html for specific examples on IE, FF and CHrome

Upvotes: 1

jorlow
jorlow

Reputation: 631

Note that in Google Chrome, it's window.webkitIndexedDB.

Upvotes: 3

kanaka
kanaka

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

Related Questions