| 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);
|
| };
|
|
|