W3C home > Mailing lists > Public > public-webrtc@w3.org > June 2012

Re: PeerConnection should extend EventTarget

From: Adam Bergkvist <adam.bergkvist@ericsson.com>
Date: Wed, 13 Jun 2012 09:56:38 +0200
Message-ID: <4FD847B6.1000705@ericsson.com>
To: Harald Alvestrand <harald@alvestrand.no>
CC: Dominique Hazael-Massieux <dom@w3.org>, SUN Yang <sun.yang.nj@gmail.com>, "public-webrtc@w3.org" <public-webrtc@w3.org>
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.

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

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:28 UTC