| Index: lib/dom/idl/dart/dart.idl
|
| diff --git a/lib/dom/idl/dart/dart.idl b/lib/dom/idl/dart/dart.idl
|
| index 553198d2a7fd25e214b37ffff26d8042d3afafd6..4bb1e099be2e19e774467d12aabc5a9c5f2ac681 100644
|
| --- a/lib/dom/idl/dart/dart.idl
|
| +++ b/lib/dom/idl/dart/dart.idl
|
| @@ -302,3 +302,17 @@ module storage {
|
| [Custom] Dictionary item(in unsigned long index);
|
| };
|
| }
|
| +
|
| +module websockets {
|
| + [Supplemental]
|
| + interface WebSocket {
|
| + // Suppress the default since it has non-standard return type and add
|
| + // overrides.
|
| + [Suppressed] boolean send(in DOMString data) raises(DOMException);
|
| + [Custom] void send(DOMString data) raises(DOMException);
|
| + [Custom] void send(Blob data) raises(DOMException);
|
| + [Custom] void send(ArrayBuffer data) raises(DOMException);
|
| + [Custom] void send(ArrayBufferView data) raises(DOMException);
|
| + };
|
| +}
|
| +
|
|
|