-
ukai@chromium.org authored
Reviewed by David Levin. Set EnabledAtRuntime for WebSocket in DOMWindow https://bugs.webkit.org/show_bug.cgi?id=29896 Supported by chromium/v8 only. Add WebSocket::isAvailable()/setIsAvailable(bool) to control v8 bindings. Remove Settings::experimentalWebSocketsEnabled() and setExperimentalWebSocketsEnabled(bool). * WebCore.base.exp: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::webSocket): * bindings/v8/V8DOMWrapper.cpp: (WebCore::V8DOMWrapper::getConstructor): * bindings/v8/custom/V8CustomBinding.h: * bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::ACCESSOR_RUNTIME_ENABLER): * page/DOMWindow.idl: * page/Settings.cpp: (WebCore::Settings::Settings): * page/Settings.h: * websockets/WebSocket.cpp: (WebCore::WebSocket::setIsAvailable): (WebCore::WebSocket::isAvailable): * websockets/WebSocket.h: 2009-10-20 Fumitoshi Ukai <ukai@chromium.org> Reviewed by David Levin. Removed WebSocket runtime settings. https://bugs.webkit.org/show_bug.cgi?id=29896 WebSocket runtime configuration is supported by chromium/v8 only. * webkit/webkitwebview.cpp: (webkit_web_view_update_settings): (webkit_web_view_settings_notify): 2009-10-20 Fumitoshi Ukai <ukai@chromium.org> Reviewed by David Levin. Removed WebSocket runtime settings. https://bugs.webkit.org/show_bug.cgi?id=29896 WebSocket runtime configuration is supported by chromium/v8 only. * WebView/WebPreferenceKeysPrivate.h: * WebView/WebPreferences.mm: (+[WebPreferences initialize]): * WebView/WebPreferencesPrivate.h: * WebView/WebView.mm: (-[WebView _preferencesChangedNotification:]): 2009-10-20 Fumitoshi Ukai <ukai@chromium.org> Reviewed by David Levin. Removed WebSocket runtime settings. https://bugs.webkit.org/show_bug.cgi?id=29896 WebSocket runtime configuration is supported by chromium/v8 only. * Interfaces/IWebPreferencesPrivate.idl: * WebPreferenceKeysPrivate.h: * WebPreferences.cpp: (WebPreferences::initializeDefaultSettings): (WebPreferences::experimentalNotificationsEnabled): * WebPreferences.h: * WebView.cpp: (WebView::notifyPreferencesChanged): 2009-10-20 Fumitoshi Ukai <ukai@chromium.org> Reviewed by David Levin. Removed WebSocket runtime settings. https://bugs.webkit.org/show_bug.cgi?id=29896 WebSocket runtime configuration is supported by chromium/v8 only. * DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues): * DumpRenderTree/win/DumpRenderTree.cpp: (resetDefaultsToConsistentValues): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
64d2b36d