mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 814012 - Add a |onopen| member to the PeerConnection interface. r=ekr
This commit is contained in:
parent
b7cc9710e0
commit
da38e3c356
@ -192,6 +192,7 @@ function PeerConnection() {
|
||||
|
||||
// Public attributes.
|
||||
this.onaddstream = null;
|
||||
this.onopen = null;
|
||||
this.onremovestream = null;
|
||||
this.onicecandidate = null;
|
||||
this.onstatechange = null;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user