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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>10674</bug_id>
          
          <creation_ts>2010-09-22 13:03:05 +0000</creation_ts>
          <short_desc>[IndexedDB] Changes to indexes (and their cursors)</short_desc>
          <delta_ts>2010-10-25 18:16:22 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>Indexed Database API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Orlow">jorlow</reporter>
          <assigned_to name="Andrei Popescu">andreip</assigned_to>
          <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>39168</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-09-22 13:03:05 +0000</bug_when>
    <thetext>On Fri, Sep 17, 2010 at 3:14 PM, Jonas Sicking &lt;jonas@sicking.cc&gt; wrote:
&gt;&gt; Given that the key-returning versions of these functions are just
&gt;&gt; optimizations, at the very least, we should change the names though:
&gt;&gt; get-&gt;getKey (or maybe getPrimaryKey?)
&gt;&gt; openCursor-&gt;openKeyCursor (or maybe openPrimaryKeyCursor?)
&gt;&gt; getObject-&gt;get
&gt;&gt; openObjectCursor-&gt;openCursor

This sounds like a workable solution. And also make IDBCursor.update
and IDBCursor.delete throw an exception if called on a key-cursor.


This was the resolution of this thread: &quot;[IndexedDB] IDBCursor.update for cursors returned from IDBIndex.openCursor&quot; http://lists.w3.org/Archives/Public/public-webapps/2010JulSep/0859.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41737</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2010-10-25 18:13:13 +0000</bug_when>
    <thetext>Fixed: http://dvcs.w3.org/hg/IndexedDB/rev/c2618f86a774</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>