Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(528)

Unified Diff: lib/dom/idl/dart/dart.idl

Issue 10918059: Changing websocket API to make it possible to send array buffers. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Sync to latest. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..9d15181e13ea69c84b6b6281ebf43c97fd2ee77c 100644
--- a/lib/dom/idl/dart/dart.idl
+++ b/lib/dom/idl/dart/dart.idl
@@ -302,3 +302,14 @@ module storage {
[Custom] Dictionary item(in unsigned long index);
};
}
+
+module websockets {
+ [Supplemental]
+ interface WebSocket {
+ // Change the return type to custom so that it can be either ArrayBuffer
+ // or string.
+ [Suppressed] boolean send(in DOMString data) raises(DOMException);
+ [Custom] boolean send(in custom data) raises(DOMException);
vsm 2012/09/04 19:55:18 I'd prefer not making the type of data 'custom' as
blois 2012/09/04 21:07:07 Looks like it does, I've made this change. On 201
+ };
+}
+
« no previous file with comments | « lib/dom/dom.dart ('k') | lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698