Index: WebCore/page/DOMWindow.idl |
diff --git a/WebCore/page/DOMWindow.idl b/WebCore/page/DOMWindow.idl |
index e1c9ff07160d7cf45bf5208662ba63426bf91a92..961e688f43a6c6d74082575d870f9cc3b794bd23 100644 |
--- a/WebCore/page/DOMWindow.idl |
+++ b/WebCore/page/DOMWindow.idl |
@@ -466,6 +466,10 @@ module window { |
attribute [JSCCustomGetter] SharedWorkerConstructor SharedWorker; // Usable with the new operator |
#endif |
+#if defined(ENABLE_WEB_SOCKETS) && ENABLE_WEB_SOCKETS |
+ attribute [JSCCustomGetter] WebSocketConstructor WebSocket; // Usable with the new operator |
+#endif |
+ |
attribute PluginConstructor Plugin; |
attribute PluginArrayConstructor PluginArray; |