<?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>16465</bug_id>
          
          <creation_ts>2012-03-21 15:33:34 +0000</creation_ts>
          <short_desc>[IndexedDB] Error handling of db.transaction(&apos;mystore&apos;, &apos;some invalid value here&apos;) should be defined</short_desc>
          <delta_ts>2012-05-02 21:26:57 +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>All</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="Odin Hørthe Omdal">odinho</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</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>65898</commentid>
    <comment_count>0</comment_count>
    <who name="Odin Hørthe Omdal">odinho</who>
    <bug_when>2012-03-21 15:33:34 +0000</bug_when>
    <thetext>Right now it isn&apos;t defined what happens if you don&apos;t input &quot;readonly&quot; or &quot;readwrite&quot;.

&quot;versionchange&quot; also exist, -- but it&apos;s not valid for transaction(), but it needs to be defined in some way.

Also, I guess it&apos;d be interesting to get the same for openCursor etc. as well.


What is done now? Throwing InvalidStateError? Ignoring and doing default &quot;readonly&quot;?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65908</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2012-03-21 19:36:15 +0000</bug_when>
    <thetext>(In reply to comment #0)
&gt; Right now it isn&apos;t defined what happens if you don&apos;t input &quot;readonly&quot; or
&gt; &quot;readwrite&quot;.

If you look at the source code of the spec this is actually defined to throw a TypeError. However somewhere along the way it appears that ReSpec has changed and is no longer displaying the &quot;exceptions&quot;. This means that there are whole swaths of the spec that is now ambiguous. We need to fix this asap.

I&apos;ll start a thread on the list.

&gt; &quot;versionchange&quot; also exist, -- but it&apos;s not valid for transaction(), but it
&gt; needs to be defined in some way.

Indeed. This needs to be fixed.

&gt; Also, I guess it&apos;d be interesting to get the same for openCursor etc. as well.

Same thing here. This is actually defined in the spec source, but ReSpec isn&apos;t showing it any more.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67262</commentid>
    <comment_count>2</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2012-05-02 21:26:57 +0000</bug_when>
    <thetext>This is defined now that we have fixed the respec issue.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>