Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(920)

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

Issue 2463953002: Expose RTCDataChannel and RTCDataChannelEvent (with constructor) (Closed)
Patch Set: Rebase update Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
This is Rietveld 408576698