mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:07:45 +00:00
LibWeb: Make WebSocket#send support typed arrays, Blob and DataView
Required by jigsawpuzzles.io, which particularly uses typed arrays.
This commit is contained in:
parent
1b6492d0fb
commit
8addcd237c
3 changed files with 23 additions and 8 deletions
|
@ -25,9 +25,5 @@ interface WebSocket : EventTarget {
|
|||
|
||||
attribute EventHandler onmessage;
|
||||
attribute DOMString binaryType;
|
||||
undefined send(USVString data);
|
||||
// FIXME: Support other kinds of send() calls
|
||||
// undefined send(Blob data);
|
||||
// undefined send(ArrayBuffer data);
|
||||
// undefined send(ArrayBufferView data);
|
||||
undefined send((BufferSource or Blob or USVString) data);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue