Bug 814012 - Add a |onopen| member to the PeerConnection interface. r=ekr

This commit is contained in:
Paul Adenot 2012-11-21 17:55:25 +01:00
parent b7cc9710e0
commit da38e3c356
2 changed files with 2 additions and 0 deletions

View File

@ -192,6 +192,7 @@ function PeerConnection() {
// Public attributes.
this.onaddstream = null;
this.onopen = null;
this.onremovestream = null;
this.onicecandidate = null;
this.onstatechange = null;

View File

@ -80,6 +80,7 @@ interface nsIDOMRTCPeerConnection : nsISupports
/* Event handlers. TODO: Use real EventTarget */
attribute RTCPeerConnectionCallback onaddstream;
attribute RTCPeerConnectionCallback onopen;
attribute RTCPeerConnectionCallback onremovestream;
attribute RTCPeerConnectionCallback onicecandidate;
attribute RTCPeerConnectionCallback onstatechange;