W3C home > Mailing lists > Public > public-script-coord@w3.org > October to December 2010

Re: [WebIDL] prototype chains, multiple inheritance, mixin interfaces

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sat, 20 Nov 2010 11:11:49 -0500
Message-ID: <4CE7F345.2030901@mit.edu>
To: Jonas Sicking <jonas@sicking.cc>
CC: public-script-coord@w3.org
On 11/20/10 5:32 AM, Jonas Sicking wrote:
>> A related issue.  What happens if a single mixin interface wants to mix in
>> into multiple concrete interfaces?  Think nsIDOMEventTarget, unless some
>> interface inheritance chains get changed.
> Node implements EventTarget;
> Window implements EventTarget;
> Worker implements EventTarget;
> etc..

Yes, but then if script wants to override addEventListener it has to do 
it separately on everything that implements EventTarget, right?  That's 
ok, I guess...

Received on Saturday, 20 November 2010 16:12:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:02 UTC