<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>102742</bug_id>
          
          <creation_ts>2012-11-19 16:50:03 -0800</creation_ts>
          <short_desc>IndexedDB: stub out Index and ObjectStore calls in IDBDatabaseBackend</short_desc>
          <delta_ts>2013-01-16 10:08:09 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>104592</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>102736</blocked>
    
    <blocked>102741</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alec Flett">alecflett</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jsbell</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>771207</commentid>
    <comment_count>0</comment_count>
    <who name="Alec Flett">alecflett</who>
    <bug_when>2012-11-19 16:50:03 -0800</bug_when>
    <thetext>We&apos;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&apos;ll likely need more as well, but that covers what is in bug 102741 and bug 102736</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>808483</commentid>
    <comment_count>1</comment_count>
    <who name="Joshua Bell">jsbell</who>
    <bug_when>2013-01-16 10:08:09 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 104592 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>