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

Unified Diff: Source/modules/websockets/WebSocket.idl

Issue 871013007: Use enum BinaryType for WebSocket.binaryType, instead of DOMString (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | « Source/modules/websockets/DOMWebSocketTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/websockets/WebSocket.idl
diff --git a/Source/modules/websockets/WebSocket.idl b/Source/modules/websockets/WebSocket.idl
index 23a35d7e9d15d833ab923aa5672fcb890395d6a3..4c7ee2d6d41c41a015aa91bae66e392488226638 100644
--- a/Source/modules/websockets/WebSocket.idl
+++ b/Source/modules/websockets/WebSocket.idl
@@ -31,7 +31,6 @@
// https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface
-// FIXME: use BinaryType in binaryType
enum BinaryType { "blob", "arraybuffer" };
[
@@ -67,7 +66,7 @@ enum BinaryType { "blob", "arraybuffer" };
// messaging
attribute EventHandler onmessage;
- attribute DOMString binaryType;
+ attribute BinaryType binaryType;
[RaisesException] void send(USVString data);
[RaisesException] void send(Blob data);
[RaisesException] void send(ArrayBuffer data);
« no previous file with comments | « Source/modules/websockets/DOMWebSocketTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698