mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Implement ondatachannel event
This commit is contained in:
parent
2c5fc3b3c8
commit
f5c930087e
6 changed files with 139 additions and 4 deletions
15
components/script/dom/webidls/RTCDataChannelEvent.webidl
Normal file
15
components/script/dom/webidls/RTCDataChannelEvent.webidl
Normal file
|
@ -0,0 +1,15 @@
|
|||
/* 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 https://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://www.w3.org/TR/webrtc/#rtcdatachannelevent
|
||||
|
||||
[Exposed=Window]
|
||||
interface RTCDataChannelEvent : Event {
|
||||
constructor(DOMString type, RTCDataChannelEventInit eventInitDict);
|
||||
readonly attribute RTCDataChannel channel;
|
||||
};
|
||||
|
||||
dictionary RTCDataChannelEventInit : EventInit {
|
||||
required RTCDataChannel channel;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue