Bug 102742 - IndexedDB: stub out Index and ObjectStore calls in IDBDatabaseBackend
Summary: IndexedDB: stub out Index and ObjectStore calls in IDBDatabaseBackend
Status: RESOLVED DUPLICATE of bug 104592
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 102736 102741
  Show dependency treegraph
 
Reported: 2012-11-19 16:50 PST by Alec Flett
Modified: 2013-01-16 10:08 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Flett 2012-11-19 16:50:03 PST
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
Comment 1 Joshua Bell 2013-01-16 10:08:09 PST

*** This bug has been marked as a duplicate of bug 104592 ***