Index: Source/modules/websockets/WebSocket.idl |
diff --git a/Source/modules/websockets/WebSocket.idl b/Source/modules/websockets/WebSocket.idl |
index e3324656a9eebebcb5766e124d24c9e813abe388..9748b642ac3479fd3969d5a12177749685d7a765 100644 |
--- a/Source/modules/websockets/WebSocket.idl |
+++ b/Source/modules/websockets/WebSocket.idl |
@@ -51,10 +51,10 @@ |
readonly attribute unsigned long bufferedAmount; |
// networking |
- attribute EventListener onopen; |
- attribute EventListener onmessage; |
- attribute EventListener onerror; |
- attribute EventListener onclose; |
+ attribute EventHandler onopen; |
+ attribute EventHandler onmessage; |
+ attribute EventHandler onerror; |
+ attribute EventHandler onclose; |
[TreatReturnedNullStringAs=Undefined] readonly attribute DOMString protocol; |
[TreatReturnedNullStringAs=Undefined] readonly attribute DOMString extensions; |