Rather than calling through IDBTransactionBackendInterface, backend index calls should just call through IDBDatabase with a transaction id specifically: (leaving out the details of request/callback hookup/etc) * IDBIndexBackendInterface::openCursor() becomes IDBDatabaseBackendInterface::openCursor(transaction_id, objectstore_id, index_id, direction, key=false); * IDBIndexBackendInterface::openKeyCursor() becomes IDBDatabaseBackendInterface::openCursor(transaction_id, objectstore_id, index_id, direction, key=true); * IDBIndexBackendInterface::count() becomes IDBDatabaseBackendInterface::count(transaction_id, objectstore_id, index_id, keyRange); * IDBIndexBackendInterface::get() becomes IDBDatabaseBackendInterface::get(transaction_id, objectstore_id, index_id, key=false); * IDBIndexBackendInterface::getKey() becomes IDBDatabaseBackendInterface::getKey(transaction_id, objectstore_id, index_id, key=false);
(erp, that last one should have key=true, and both get() and getKey() take a keyRange too)
Decided to just combine these two bugs. *** This bug has been marked as a duplicate of bug 102741 ***