W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2010

[IndexedDB] IDBEvent and Event

From: Shawn Wilsher <sdwilsh@mozilla.com>
Date: Fri, 25 Jun 2010 14:20:11 -0700
Message-ID: <4C251D8B.3010706@mozilla.com>
To: public-webapps WG <public-webapps@w3.org>
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, so I figured I'd start a discussion before filing the bug.

Cheers,

Shawn

[1] http://www.w3.org/TR/DOM-Level-3-Events/#interface-Event
[2] http://www.w3.org/TR/DOM-Level-3-Events/#interface-EventListener



Received on Friday, 25 June 2010 21:20:55 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:39 GMT