Bug 102742
Summary: | IndexedDB: stub out Index and ObjectStore calls in IDBDatabaseBackend | ||
---|---|---|---|
Product: | WebKit | Reporter: | Alec Flett <alecflett> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | jsbell |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Bug Depends on: | |||
Bug Blocks: | 102736, 102741 |
Alec Flett
We're going to need:
(leaving out callbacks)
* IDBDatabaseBackendInterface::openCursor(transaction_id, objectstore_id, index_id, keyRange, direction, key);
* IDBDatabaseBackendInterface::count(transaction_id, objectstore_id, index_id, keyRange);
* IDBDatabaseBackendInterface::get(transaction_id, objectstore_id, index_id, keyRange, key=false);
* IDBDatabaseBackendInterface::put(transaction_id, objectstore_id, index_id, key);
* IDBDatabaseBackendInterface::deleteFunction(transaction_id, objectstore_id, keyRange);
* IDBDatabaseBackendInterface::clear(transaction_id, objectstore_id);
* IDBDatabaseBackendInterface::setIndexKeys(transaction_id, objectstore_id, index_ids, index_keys);
* IDBDatabaseBackendInterface::setIndexesReady(transaction_id, objectstore_id, index_ids);
In a few of these (openCursor and get) you can pass -1 as the index_id and pass true/false to key, to get the getKey/openKeyCursor behavior.
We'll likely need more as well, but that covers what is in bug 102741 and bug 102736
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Joshua Bell
*** This bug has been marked as a duplicate of bug 104592 ***