Require the argument to WebSocket#send() (fixes #7858).

This commit is contained in:
Jim Berlage 2015-10-05 19:24:24 -05:00
parent 94816bb3b4
commit 0ffd2f636f
6 changed files with 4 additions and 47 deletions

View file

@ -28,7 +28,7 @@ interface WebSocket : EventTarget {
//messaging
attribute EventHandler onmessage;
attribute BinaryType binaryType;
[Throws] void send(optional USVString data);
[Throws] void send(USVString data);
//void send(Blob data);
//void send(ArrayBuffer data);
//void send(ArrayBufferView data);