USING THE CORRECT INDEXEDDB API

Because the IndexedDB API is still under heavy active development, Mozilla and WebKit have implemented experimental versions of it by modifying the interface names. The thinking is that when the specification becomes a standard, the final API names will be implemented in the browsers.

As of August 2011, the latest versions of browsers that support the IndexedDB API are Chrome 14 and Firefox 5. So if you were to read the latest IndexedDB specification at the W3C page at www.w3.org/TR/IndexedDB/, you would find that it refers to the object interfaces IDBFactory, IDBKeyRange, and IDBTransaction, but these objects are nowhere to be found in these browsers.

Therefore, in order to experiment with the IndexedDB API today, ...

Get HTML5: Your visual blueprint™ for designing rich web pages and applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.