gecko-dev/dom/webidl/RTCDataChannelEvent.webidl
Nils Ohlmeier [:drno] dde85acd10 Bug 1447692: update RTCDataChannelEventInit to meet spec. r=smaug
MozReview-Commit-ID: 9ggm11SsOyC

--HG--
extra : rebase_source : c50701eddb12de3a86a128662f9671cd31186f57
2018-03-21 16:03:42 +00:00

19 lines
689 B
Plaintext

/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
* You can obtain one at http://mozilla.org/MPL/2.0/.
*
* The origin of this IDL file is
* http://dev.w3.org/2011/webrtc/editor/webrtc.html#idl-def-RTCDataChannelEvent
*/
dictionary RTCDataChannelEventInit : EventInit {
required RTCDataChannel channel;
};
[Pref="media.peerconnection.enabled",
Constructor(DOMString type, RTCDataChannelEventInit eventInitDict)]
interface RTCDataChannelEvent : Event {
readonly attribute RTCDataChannel channel;
};