Index: third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl |
diff --git a/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..13dff965eb1e130803f5f34fe80dd077a3585223 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/peerconnection/RTCDataChannelEventInit.idl |
@@ -0,0 +1,12 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
foolip
2016/11/03 15:24:16
off-by-one error :)
lunalu1
2016/11/08 20:27:35
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// https://w3c.github.io/webrtc-pc/#dom-rtcdatachannelevent |
foolip
2016/11/03 15:24:16
This is the definition of RTCDataChannelEvent cons
lunalu1
2016/11/08 20:27:35
Done.
|
+ |
+// channel attribute needs to be required to avoid null instance of |
foolip
2016/11/03 15:24:16
Unlike most other specs on w3c.github.io, this one
|
+// RTCDataChannelEvent created by new RTCDataChannelEvent('type', {}). |
+ |
+dictionary RTCDataChannelEventInit : EventInit { |
+ required RTCDataChannel channel; |
+}; |