Bug 102736
| Summary: | IndexedDB: migrate backend Index calls to use transaction ids | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alec Flett <alecflett> |
| Component: | WebCore Misc. | Assignee: | Alec Flett <alecflett> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Bug Depends on: | 102732, 102742, 104592 | ||
| Bug Blocks: | 99774 | ||
Alec Flett
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);
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Alec Flett
(erp, that last one should have key=true, and both get() and getKey() take a keyRange too)
Alec Flett
Decided to just combine these two bugs.
*** This bug has been marked as a duplicate of bug 102741 ***