This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
On Fri, Sep 17, 2010 at 3:14 PM, Jonas Sicking <jonas@sicking.cc> wrote: >> Given that the key-returning versions of these functions are just >> optimizations, at the very least, we should change the names though: >> get->getKey (or maybe getPrimaryKey?) >> openCursor->openKeyCursor (or maybe openPrimaryKeyCursor?) >> getObject->get >> openObjectCursor->openCursor This sounds like a workable solution. And also make IDBCursor.update and IDBCursor.delete throw an exception if called on a key-cursor. This was the resolution of this thread: "[IndexedDB] IDBCursor.update for cursors returned from IDBIndex.openCursor" http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/0859.html
Fixed: http://dvcs.w3.org/hg/IndexedDB/rev/c2618f86a774