mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Auto merge of #7885 - jimberlage:7858/null-message, r=Ms2ger
Creates empty string when passed null This should fix #7858. An empty `USVString` is now used when `data` is `None`. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7885) <!-- Reviewable:end -->
This commit is contained in:
commit
8c81d9ab28
5 changed files with 3 additions and 44 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue