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

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...

-Boris

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