<?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>14384</bug_id>
          
          <creation_ts>2011-10-04 23:29:51 +0000</creation_ts>
          <short_desc>&quot;upgradeneeded&quot; event should set request.readyState to DONE</short_desc>
          <delta_ts>2011-11-02 15:13:11 +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="Ben Turner">bent.mozilla</reporter>
          <assigned_to name="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <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>57815</commentid>
    <comment_count>0</comment_count>
    <who name="Ben Turner">bent.mozilla</who>
    <bug_when>2011-10-04 23:29:51 +0000</bug_when>
    <thetext>&quot;upgradeneeded&quot; event should set request.readyState to DONE, otherwise we will throw an exception getting request.result.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59450</commentid>
    <comment_count>1</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2011-11-01 21:46:24 +0000</bug_when>
    <thetext>This is now fixed in the spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59451</commentid>
    <comment_count>2</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2011-11-01 22:02:04 +0000</bug_when>
    <thetext>Ooops, wrong bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59463</commentid>
    <comment_count>3</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-11-02 01:16:20 +0000</bug_when>
    <thetext>Making the change</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59492</commentid>
    <comment_count>4</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-11-02 15:13:11 +0000</bug_when>
    <thetext>4.8 VERSION_CHANGE transaction steps now states in step 9.3:

Fire a upgradeneeded event targeted at request. The event must use the IDBVersionChangeEvent interface and have the oldVersion property set to old version and have the newVersion property set to version. The readyState on the request is set to DONE. 

Published in 1 November Editor&apos;s Draft.
Thanks for catching this.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>