Re: Should non-callback interfaces be allowed to inherit from callback interfaces?

Boris Zbarsky:
> The spec says that a callback interface must not inherit from a
> non-callback interface.  But it seems to allow the inheritance the other
> way around, so this looks like valid WebIDL to me:
>
>    callback interface Foo {};
>    interface Bar : Foo {};
>
> That seems pretty odd to me.  I believe that should be disallowed.

It should indeed, and now is:

http://dev.w3.org/cvsweb/2006/webapi/WebIDL/Overview.xml.diff?r1=1.531;r2=1.532;f=h

Received on Wednesday, 20 June 2012 06:03:14 UTC