Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl

Issue 2463953002: Expose RTCDataChannel and RTCDataChannelEvent (with constructor) (Closed)
Patch Set: Partially editted tests expected results Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl
index 0a724076afb22d0251d5ddfb97e55928e7146044..4307c1b8c2131e651932951228a1b91a1bd00dab 100644
--- a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEvent.idl
@@ -25,10 +25,8 @@
// https://w3c.github.io/webrtc-pc/#rtcdatachannelevent
-// TODO(foolip): RTCDataChannelEvent should have a constructor. See also
-// https://github.com/w3c/webrtc-pc/issues/817
[
- NoInterfaceObject
+ Constructor(DOMString type, RTCDataChannelEventInit eventInitDict),
] interface RTCDataChannelEvent : Event {
readonly attribute RTCDataChannel channel;
};

Powered by Google App Engine