<?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>10601</bug_id>
          
          <creation_ts>2010-09-10 15:15:24 +0000</creation_ts>
          <short_desc>[IndexedDB] Need some way to create IDB events?</short_desc>
          <delta_ts>2011-06-01 18:52:28 +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="Eliot Graff">eliotgra</assigned_to>
          <cc>eliotgra</cc>
    
    <cc>jorlow</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>38832</commentid>
    <comment_count>0</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-09-10 15:15:24 +0000</bug_when>
    <thetext>It seems that most (or all?) events can be instantiated by a user.  Do we need to add an init method like in http://dev.w3.org/html5/webstorage/#event-definition ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47927</commentid>
    <comment_count>1</comment_count>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2011-05-04 04:10:29 +0000</bug_when>
    <thetext>As Israel pointed out in &quot;[IndexedDB] Bug#10601 - Need some way to create IDB events?&quot;, these days this bug essentially just means that we need to add the following:

interface IDBVersionChangeEvent: Event {
          readonly attribute DOMString version;
--&gt;       void initIDBVersionChangeEvent(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMString version);
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48701</commentid>
    <comment_count>2</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-05-23 17:13:48 +0000</bug_when>
    <thetext>I&apos;ll add the method</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49027</commentid>
    <comment_count>3</comment_count>
    <who name="Eliot Graff">eliotgra</who>
    <bug_when>2011-06-01 18:52:28 +0000</bug_when>
    <thetext>Added initIDBVersionChangeEvent method to IDBVersionChangeEvent, section 3.2.2:

initIDBVersionChangeEvent

    Intializes the value of an IDBVersionChangeEvent event once it&apos;s been created.

typeArg		DOMString	Specifies the event type.
canBubbleArg	boolean	 	Boolean value that indicates whether the event can bubble.
cancelableArg	boolean	 	Boolean value that indicates whether the event is cancelable.
version		DOMString	The new version of the database during a VERSION_CHANGE transaction.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>