Re: [DOM4] EventTarget as first class citizen

On 2/29/12 1:40 PM, Marcos Caceres wrote:
> I guess I'm requesting explicitly to ensure that DOM4 defines "the methods on EventTarget.prototype are generic and flexible enough to work on any object".

I don't believe that's possible in WebIDL.

Furthermore, I don't believe that's possible in general; how exactly do 
you see it happening?  How is dispatchEvent supposed to work generically?

-Boris

Received on Wednesday, 29 February 2012 19:12:40 UTC