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

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, 10 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
Index: Source/modules/websockets/WebSocket.idl
diff --git a/Source/modules/websockets/WebSocket.idl b/Source/modules/websockets/WebSocket.idl
index c2a343cd22eff344cdf80919caf67e452b138cb3..c9b9d32976d67c1bb791695592ab78cf43adc1b5 100644
--- a/Source/modules/websockets/WebSocket.idl
+++ b/Source/modules/websockets/WebSocket.idl
@@ -32,7 +32,6 @@
// http://dev.w3.org/html5/websockets/#websocket
// http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html#websocket
-// 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(DOMString data);
[RaisesException] void send(Blob data);
[RaisesException] void send(ArrayBuffer data);
« Source/modules/websockets/DOMWebSocket.cpp ('K') | « Source/modules/websockets/DOMWebSocket.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698