jensarps/IDBWrapper

Firefox now supports autoIncrement

nolanlawson opened this issue · 2 comments

I'm not sure when they added it, but as of Firefox 29 at least, autoIncrement works fine: https://bugzilla.mozilla.org/show_bug.cgi?id=701772. So you should be able to get rid of the mozIndexedDB sniffing.

Ah, now that would be sweet, thanks for the pointer! I'll add tests regarding autoIncrement and investigate on that. If it's only in Firefox 29, I'd prefer to leave that in for a bit, as 29 is quite fresh from the press.

I'll leave this open until the mozIndexedDB sniffing is removed from master.

@daleharvey could probably say more precisely than me, but it's been in there since before 29. We've used it unguarded in PouchDB for awhile.