<?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>11398</bug_id>
          
          <creation_ts>2010-11-24 17:12:53 +0000</creation_ts>
          <short_desc>[IndexedDB] Methods that take multiple optional parameters should instead take an options object</short_desc>
          <delta_ts>2012-01-17 11:03:59 +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>
          <dependson>11350</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jeremy Orlow">jorlow</reporter>
          <assigned_to name="Jeremy Orlow">jorlow</assigned_to>
          <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>odinho</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>42751</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-11-24 17:12:53 +0000</bug_when>
    <thetext>All methods that take multiple optional parameters (or which might possibly take multiple in the future) should be converted over to options objects like what&apos;s described in bug 11350 (for createObjectStore).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42777</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-11-25 14:50:12 +0000</bug_when>
    <thetext>My recommendation is that the following methods be converted:
IDBDatabase.createObjectStore
IDBObjectStore.createIndex
IDBObjectStore.openCursor
IDBIndex.openCursor
IDBIndex.openKeyCursor
IDBKeyRange.bound

The following don&apos;t seem like good candidates:
IDBObjectStore.put
IDBObjectStore.add
IDBCursor.continue

This is what we&apos;re doing in Chrome anyway.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46226</commentid>
    <comment_count>2</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2011-03-03 20:50:19 +0000</bug_when>
    <thetext>Note that we decided to throw if we get an option we didn&apos;t expect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>62804</commentid>
    <comment_count>3</comment_count>
    <who name="Odin Hørthe Omdal">odinho</who>
    <bug_when>2012-01-17 11:03:59 +0000</bug_when>
    <thetext>Jeremy: You went back on that throwing-on-unknown, as far as I can tell from the current spec. If not I&apos;d like to discuss why it shouldn&apos;t throw :-)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>