<?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>102736</bug_id>
          
          <creation_ts>2012-11-19 16:18:41 -0800</creation_ts>
          <short_desc>IndexedDB: migrate backend Index calls to use transaction ids</short_desc>
          <delta_ts>2013-01-03 17:08:30 -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>102741</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>
          <dependson>102732</dependson>
    
    <dependson>102742</dependson>
    
    <dependson>104592</dependson>
          <blocked>99774</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alec Flett">alecflett</reporter>
          <assigned_to name="Alec Flett">alecflett</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>771163</commentid>
    <comment_count>0</comment_count>
    <who name="Alec Flett">alecflett</who>
    <bug_when>2012-11-19 16:18:41 -0800</bug_when>
    <thetext>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);</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>771165</commentid>
    <comment_count>1</comment_count>
    <who name="Alec Flett">alecflett</who>
    <bug_when>2012-11-19 16:19:22 -0800</bug_when>
    <thetext>(erp, that last one should have key=true, and both get() and getKey() take a keyRange too)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>799856</commentid>
    <comment_count>2</comment_count>
    <who name="Alec Flett">alecflett</who>
    <bug_when>2013-01-03 17:08:30 -0800</bug_when>
    <thetext>Decided to just combine these two bugs.

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

    </bug>

</bugzilla>