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

Unified Diff: modules/websockets/WebSocket.idl

Issue 22498002: Roll IDL to multivm@1329 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 7 years, 4 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 | « modules/webmidi/MIDISuccessCallback.idl ('k') | modules/websockets/WorkerContextWebSocket.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/websockets/WebSocket.idl
diff --git a/modules/websockets/WebSocket.idl b/modules/websockets/WebSocket.idl
index 425ac96090bf24f2d700f2a653f7b579fe5c30e3..e3324656a9eebebcb5766e124d24c9e813abe388 100644
--- a/modules/websockets/WebSocket.idl
+++ b/modules/websockets/WebSocket.idl
@@ -30,14 +30,14 @@
*/
[
+ GlobalContext=Window&WorkerGlobalScope,
ActiveDOMObject,
Constructor(DOMString url),
Constructor(DOMString url, sequence<DOMString> protocols),
Constructor(DOMString url, DOMString protocol),
ConstructorRaisesException,
- ConstructorCallWith=ScriptExecutionContext,
- EventTarget
-] interface WebSocket {
+ ConstructorCallWith=ScriptExecutionContext
+] interface WebSocket : EventTarget {
readonly attribute DOMString URL; // Lowercased .url is the one in the spec, but leaving .URL for compatibility reasons.
readonly attribute DOMString url;
@@ -67,13 +67,4 @@
[RaisesException] void send(DOMString data);
[RaisesException] void close([Clamp] optional unsigned short code, optional DOMString reason);
-
- // EventTarget interface
- void addEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- void removeEventListener(DOMString type,
- EventListener listener,
- optional boolean useCapture);
- [RaisesException] boolean dispatchEvent(Event evt);
};
« no previous file with comments | « modules/webmidi/MIDISuccessCallback.idl ('k') | modules/websockets/WorkerContextWebSocket.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698