dan gibson
dan gibson

Reputation: 3665

When will IndexedDB be 'done'?

In the previous spec for IndexedDB (http://www.w3.org/TR/2011/WD-IndexedDB-20111206) the mode value for IDBDatabase transaction was a short. In the current spec (24 May 2012) it is now a string. FF12 still uses a short. The mode value determines whether you want a read-only transaction or a read-write transaction.

Does anyone know where to find out the progress of IndexedDB (ie when will it be done and we can use window.indexedDB instead of window.mozIndexedDB/webkitIndexedDB/msIndexedDB)? Unfortunately the spec gives no indication if this is a proposed "final" version or just one of many to come (with more breaking changes).

Upvotes: 2

Views: 625

Answers (3)

Jonas Sicking
Jonas Sicking

Reputation: 1202

When we made the change to go from numeric values for transaction mode, cursor direction, etc, it was with the intent that it would be the last "big change" to the spec.

As with any standards development, things could still change if we find really fatal flaws in the spec, like if it's somehow self contradictory, or if implementing every aspect of it requires taking some very bad performance penalties.

However given that we've implemented almost all the features in Firefox since Firefox 11 (only missing a couple of minor things like transaction.error) we are confident that we can fix the remaining bugs without problem.

We're even hoping to remove the 'moz' prefix in Firefox 16, though no promises since we're not there yet.

Edit: Oh, and the Sync part of the spec won't be holding up finishing the async part. We in the latest version of the spec we marked the sync part as "at risk" so that if we feel that it's holding us back, we can remove it for the spec and add it to the next version.

Upvotes: 5

buley
buley

Reputation: 29208

Not any time soon.

Although I don't know when the spec will be fully baked, I can say with certainty that it's not yet close. Aside from API incompatibilities between at least two major browsers, FF and Chrome, the IE10 implementation has yet to be released to the public.

Moreover, one might argue that IndexedDB is not "done" until the synchronous API is implemented for use in Web Workers, and at this point no browser vendors have even agreed to start work on that.

Upvotes: 1

Sirko
Sirko

Reputation: 74046

For the implementation progress on new features have a look at caniuse.com.

For IndexedDB it currently lists only prefixed support in Firefox and Chrome. Ans support for the upcoming IE10.

As with many features it will be a de factor standard (and thus only modified slightly) long before the w3c standard is listed as final.

Upvotes: 0

Related Questions