W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2012

Re: [DOM4] EventTarget as first class citizen

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 29 Feb 2012 14:12:11 -0500
Message-ID: <4F4E788B.8060801@mit.edu>
To: www-dom@w3.org
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?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:18 UTC