<?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>10402</bug_id>
          
          <creation_ts>2010-08-19 16:23:11 +0000</creation_ts>
          <short_desc>[IndexedDB] IDBCursor.remove/update behavior when at end of range unspecified</short_desc>
          <delta_ts>2010-11-08 11:53:46 +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="Jonas Sicking (Not reading bugmail)">jonas</assigned_to>
          <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>public-webapps</cc>
    
    <cc>sdwilsh</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>37643</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-08-19 16:23:11 +0000</bug_when>
    <thetext>The behavior of IDBCursor.remove and IDBCursor.update is unspecified for when the cursor is at the end of the range.  It seems clear we should raise an error, but I&apos;m not sure which type is best.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37644</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-08-19 16:30:05 +0000</bug_when>
    <thetext>Neither specifies what should returned in the result.  I&apos;m assuming null?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42258</commentid>
    <comment_count>2</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2010-11-08 11:44:09 +0000</bug_when>
    <thetext>Comment #0 is now covered (by http://dvcs.w3.org/hg/IndexedDB/rev/8716288a4fe1)

Do we want to return null or undefined for comment #1? I&apos;ve been leaning more towards undefined since these APIs don&apos;t return objects but rather values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42261</commentid>
    <comment_count>3</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2010-11-08 11:53:46 +0000</bug_when>
    <thetext>I went with undefined.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>