aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/RTCDataChannel.webidl
diff options
context:
space:
mode:
authorKagami Sascha Rosylight <saschanaz@outlook.com>2022-01-05 03:39:33 +0100
committerKagami Sascha Rosylight <saschanaz@outlook.com>2022-01-05 03:39:33 +0100
commit52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca (patch)
treeff222506f529fb20f148b634161a10244fd2a7ec /components/script/dom/webidls/RTCDataChannel.webidl
parent5df705a41f6c4c1f2ffeec257dfe0129ce5fa8e0 (diff)
downloadservo-52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca.tar.gz
servo-52ea5204a23d8cc9d40ac3e9eb4fd9e03c1cd1ca.zip
Convert Web IDL void to undefined
Fixes #27660
Diffstat (limited to 'components/script/dom/webidls/RTCDataChannel.webidl')
-rw-r--r--components/script/dom/webidls/RTCDataChannel.webidl10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/script/dom/webidls/RTCDataChannel.webidl b/components/script/dom/webidls/RTCDataChannel.webidl
index cdc3b9fdd48..e67c299bcea 100644
--- a/components/script/dom/webidls/RTCDataChannel.webidl
+++ b/components/script/dom/webidls/RTCDataChannel.webidl
@@ -21,13 +21,13 @@ interface RTCDataChannel : EventTarget {
attribute EventHandler onerror;
attribute EventHandler onclosing;
attribute EventHandler onclose;
- void close();
+ undefined close();
attribute EventHandler onmessage;
[SetterThrows] attribute DOMString binaryType;
- [Throws] void send(USVString data);
- [Throws] void send(Blob data);
- [Throws] void send(ArrayBuffer data);
- [Throws] void send(ArrayBufferView data);
+ [Throws] undefined send(USVString data);
+ [Throws] undefined send(Blob data);
+ [Throws] undefined send(ArrayBuffer data);
+ [Throws] undefined send(ArrayBufferView data);
};
// https://www.w3.org/TR/webrtc/#dom-rtcdatachannelinit