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

Side by Side Diff: Source/modules/websockets/WebSocket.idl

Issue 1308553005: Remove a few IDL TODOs that have been fixed in the HTML spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/frame/History.idl ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * Copyright (C) 2010, 2011 Apple Inc. All Rights Reserved. 3 * Copyright (C) 2010, 2011 Apple Inc. All Rights Reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 17 matching lines...) Expand all
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 */ 30 */
31 31
32 // https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface 32 // https://html.spec.whatwg.org/multipage/comms.html#the-websocket-interface
33 33
34 enum BinaryType { "blob", "arraybuffer" }; 34 enum BinaryType { "blob", "arraybuffer" };
35 35
36 [ 36 [
37 ActiveDOMObject, 37 ActiveDOMObject,
38 // FIXME: Spec has DOMString[]. https://www.w3.org/Bugs/Public/show_bug.cgi? id=28102
39 Constructor(DOMString url, optional (DOMString or sequence<DOMString>) proto cols), 38 Constructor(DOMString url, optional (DOMString or sequence<DOMString>) proto cols),
40 ConstructorCallWith=ExecutionContext, 39 ConstructorCallWith=ExecutionContext,
41 Exposed=(Window,Worker), 40 Exposed=(Window,Worker),
42 TypeChecking=Interface, 41 TypeChecking=Interface,
43 RaisesException=Constructor, 42 RaisesException=Constructor,
44 GarbageCollected, 43 GarbageCollected,
45 ImplementedAs=DOMWebSocket, 44 ImplementedAs=DOMWebSocket,
46 ] interface WebSocket : EventTarget { 45 ] interface WebSocket : EventTarget {
47 readonly attribute DOMString url; 46 readonly attribute DOMString url;
48 47
(...skipping 14 matching lines...) Expand all
63 [RaisesException] void close([Clamp] optional unsigned short code, optional USVString reason); 62 [RaisesException] void close([Clamp] optional unsigned short code, optional USVString reason);
64 63
65 // messaging 64 // messaging
66 attribute EventHandler onmessage; 65 attribute EventHandler onmessage;
67 attribute BinaryType binaryType; 66 attribute BinaryType binaryType;
68 [RaisesException] void send(USVString data); 67 [RaisesException] void send(USVString data);
69 [RaisesException] void send(Blob data); 68 [RaisesException] void send(Blob data);
70 [RaisesException] void send(ArrayBuffer data); 69 [RaisesException] void send(ArrayBuffer data);
71 [RaisesException] void send(ArrayBufferView data); 70 [RaisesException] void send(ArrayBufferView data);
72 }; 71 };
OLDNEW
« no previous file with comments | « Source/core/frame/History.idl ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698