Re: PeerConnection should extend EventTarget

On 2012-06-13 09:49, Harald Alvestrand wrote:
> On 06/12/2012 10:56 AM, Dominique Hazael-Massieux wrote:
>> Hi Adam,
>>
>> Le mardi 12 juin 2012 à 10:11 +0200, Adam Bergkvist a écrit :
>>> PeerConnection does implement EventTarget. The actual "implements
>>> statement" is located at the very end of chapter 4 (a bit off). I think
>>> we should put that in the same idl section as the actual PeerConnection
>>> interface.
>> My understanding is that rather than "implements", interfaces are now
>> expected to inherits from EventTarget (i.e. interface PeerConnect :
>> EventTarget)
>>
>> See also https://www.w3.org/Bugs/Public/show_bug.cgi?id=12574#c7
> As long as we all agree that it should be possible to fire events at the
> PeerConnection, I'm happy to take Dom's advice on how to express it in IDL.
>
> Work item for the editors to fix.

Dom is right. Inheritance is the new way to express that an interface is 
an EventTarget.

I can do the edit.

/Adam

Received on Wednesday, 13 June 2012 07:57:03 UTC