mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Cleanups and tidy fixes
This commit is contained in:
parent
ace0d7795e
commit
960b010d30
8 changed files with 23 additions and 24 deletions
|
@ -2,7 +2,7 @@
|
|||
* 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/#dom-rtcdatachannel
|
||||
// https://w3c.github.io/webrtc-pc/#dom-rtcdatachannel
|
||||
|
||||
[Exposed=Window]
|
||||
interface RTCDataChannel : EventTarget {
|
||||
|
@ -25,9 +25,9 @@ interface RTCDataChannel : EventTarget {
|
|||
attribute EventHandler onmessage;
|
||||
//attribute DOMString binaryType;
|
||||
void send(USVString data);
|
||||
void send(Blob data);
|
||||
void send(ArrayBuffer data);
|
||||
void send(ArrayBufferView data);
|
||||
//void send(Blob data);
|
||||
//void send(ArrayBuffer data);
|
||||
//void send(ArrayBufferView data);
|
||||
};
|
||||
|
||||
// https://www.w3.org/TR/webrtc/#dom-rtcdatachannelinit
|
||||
|
@ -46,4 +46,4 @@ enum RTCDataChannelState {
|
|||
"open",
|
||||
"closing",
|
||||
"closed"
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue