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

On Fri, Nov 19, 2010 at 7:09 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 11/19/10 4:39 PM, Cameron McCormack wrote:
>>
>> One issue I thought of since then is what to do if mixin interfaces want
>> to define constants, and they want them to appear on an interface object
>> with the abstract interface’s name?  This comes up in SVG, for example:
>
> 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..

/ Jonas

Received on Saturday, 20 November 2010 10:33:29 UTC