Re: [IndexedDB] IDBEvent and Event

2010-06-30 Thread Andrei Popescu
On Sat, Jun 26, 2010 at 12:41 PM, Jonas Sicking jo...@sicking.cc wrote: On Fri, Jun 25, 2010 at 2:20 PM, Shawn Wilsher sdwi...@mozilla.com wrote: Hey all, I think that IDBEvent needs to inherit from Event [1] in order for us to properly inherit from EventTarget in IDBRequest.  Specifically,

Re: [IndexedDB] IDBEvent and Event

2010-06-30 Thread Shawn Wilsher
On 6/30/2010 8:25 AM, Andrei Popescu wrote: Agreed. In WebKit, Jeremy already made it inherit from Event. I filed bug 10056 [1] on this. Cheers, Shawn [1] http://www.w3.org/Bugs/Public/show_bug.cgi?id=10056 smime.p7s Description: S/MIME Cryptographic Signature

Re: [IndexedDB] IDBEvent and Event

2010-06-26 Thread Jonas Sicking
On Fri, Jun 25, 2010 at 2:20 PM, Shawn Wilsher sdwi...@mozilla.com wrote: Hey all, I think that IDBEvent needs to inherit from Event [1] in order for us to properly inherit from EventTarget in IDBRequest.  Specifically, EventTarget takes an EventListener [2] which has a method, handleEvent,

[IndexedDB] IDBEvent and Event

2010-06-25 Thread Shawn Wilsher
Hey all, I think that IDBEvent needs to inherit from Event [1] in order for us to properly inherit from EventTarget in IDBRequest. Specifically, EventTarget takes an EventListener [2] which has a method, handleEvent, that takes an Event object. I'm not sure this makes sense for us though,