[webidl] [Implements] extended attribute

To complement [ImplementedOn] I think we need [Implements]. For instance,  
objects implementing the XMLHttpRequest interface must implement the  
EventTarget interface can be neatly described in the IDL:

   [Constructor,
    Implements=EventTarget]
   interface XMLHttpRequest ...

It would be nice if it could be used multiple times as well, e.g.

   [Implements=EventTarget,
    Implements=XMLHttpRequestEventTarget]
   interface XMLHttpRequestUpload ...

I am assuming something like this ends up in the Web IDL specification for  
now as per IRC discussion.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Monday, 9 February 2009 15:31:13 UTC