| Index: WebCore/bindings/js/JSDOMWindowCustom.cpp
|
| diff --git a/WebCore/bindings/js/JSDOMWindowCustom.cpp b/WebCore/bindings/js/JSDOMWindowCustom.cpp
|
| index 33ac7bbfda36a75381ba67bfd7f18ca85f7793b3..e4b0797dd5eaaa99bbffe12a5ed40e640d1446a2 100644
|
| --- a/WebCore/bindings/js/JSDOMWindowCustom.cpp
|
| +++ b/WebCore/bindings/js/JSDOMWindowCustom.cpp
|
| @@ -48,6 +48,7 @@
|
| #include "JSSharedWorkerConstructor.h"
|
| #include "JSWebKitCSSMatrixConstructor.h"
|
| #include "JSWebKitPointConstructor.h"
|
| +#include "JSWebSocketConstructor.h"
|
| #include "JSWorkerConstructor.h"
|
| #include "JSXMLHttpRequestConstructor.h"
|
| #include "JSXSLTProcessorConstructor.h"
|
| @@ -486,6 +487,13 @@ JSValue JSDOMWindow::sharedWorker(ExecState* exec) const
|
| }
|
| #endif
|
|
|
| +#if ENABLE(WEB_SOCKETS)
|
| +JSValue JSDOMWindow::webSocket(ExecState* exec) const
|
| +{
|
| + return getDOMConstructor<JSWebSocketConstructor>(exec, this);
|
| +}
|
| +#endif
|
| +
|
| // Custom functions
|
|
|
| // Helper for window.open() and window.showModalDialog()
|
|
|