Skip to content
  • abarth@webkit.org's avatar
    WebSocket: Remove hixie76 protocol implementation · b3d37027
    abarth@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=88620
    
    Patch by Yuta Kitamura <yutak@chromium.org> on 2012-07-10
    Reviewed by Adam Barth.
    
    Source/WebCore: 
    
    This change removes code that implements the old hixie-76 WebSocket protocol which
    isn't used anymore.
    
    No new tests are added, because the code using the current protocol should not be
    affected. Tests for hixie-76 protocol are skipped (these tests will be removed
    eventually).
    
    * Modules/websockets/ThreadableWebSocketChannel.h:
    * Modules/websockets/ThreadableWebSocketChannelClientWrapper.cpp:
    (WebCore::ThreadableWebSocketChannelClientWrapper::ThreadableWebSocketChannelClientWrapper):
    (WebCore::ThreadableWebSocketChannelClientWrapper::didCreateWebSocketChannel):
    * Modules/websockets/ThreadableWebSocketChannelClientWrapper.h:
    (ThreadableWebSocketChannelClientWrapper):
    * Modules/websockets/WebSocket.cpp:
    (WebCore::WebSocket::WebSocket):
    (WebCore::WebSocket::connect):
    (WebCore::WebSocket::send):
    (WebCore::WebSocket::protocol):
    (WebCore::WebSocket::extensions):
    (WebCore::WebSocket::binaryType):
    (WebCore::WebSocket::setBinaryType):
    (WebCore::WebSocket::didReceiveMessageError):
    (WebCore::WebSocket::didClose):
    (WebCore::WebSocket::getFramingOverhead):
    * Modules/websockets/WebSocket.h:
    * Modules/websockets/WebSocketChannel.cpp:
    (WebCore::WebSocketChannel::WebSocketChannel):
    (WebCore::WebSocketChannel::connect):
    (WebCore::WebSocketChannel::send):
    (WebCore::WebSocketChannel::fail):
    (WebCore::WebSocketChannel::didCloseSocketStream):
    (WebCore::WebSocketChannel::processBuffer):
    (WebCore::WebSocketChannel::startClosingHandshake):
    (WebCore::WebSocketChannel::enqueueTextFrame):
    (WebCore::WebSocketChannel::enqueueRawFrame):
    (WebCore::WebSocketChannel::enqueueBlobFrame):
    (WebCore::WebSocketChannel::processOutgoingFrameQueue):
    (WebCore::WebSocketChannel::abortOutgoingFrameQueue):
    * Modules/websockets/WebSocketChannel.h:
    (WebSocketChannel):
    * Modules/websockets/WebSocketHandshake.cpp:
    (WebCore::WebSocketHandshake::WebSocketHandshake):
    (WebCore::WebSocketHandshake::clientHandshakeMessage):
    (WebCore::WebSocketHandshake::clientHandshakeRequest):
    (WebCore::WebSocketHandshake::readServerHandshake):
    (WebCore::WebSocketHandshake::checkResponseHeaders):
    * Modules/websockets/WebSocketHandshake.h:
    * Modules/websockets/WorkerThreadableWebSocketChannel.cpp:
    (WebCore::WorkerThreadableWebSocketChannel::WorkerContextDidInitializeTask::create):
    (WebCore::WorkerThreadableWebSocketChannel::WorkerContextDidInitializeTask::WorkerContextDidInitializeTask):
    (WorkerThreadableWebSocketChannel::WorkerContextDidInitializeTask):
    (WebCore::WorkerThreadableWebSocketChannel::Bridge::mainThreadInitialize):
    * Modules/websockets/WorkerThreadableWebSocketChannel.h:
    (WorkerThreadableWebSocketChannel):
    (Peer):
    (Bridge):
    
    LayoutTests: 
    
    Skip tests under hixie76 directory in all ports, because hixie-76 protocol support is
    being dropped. These tests will be removed later.
    
    * platform/chromium/TestExpectations:
    * platform/gtk/TestExpectations:
    * platform/mac/TestExpectations:
    * platform/qt/TestExpectations:
    * platform/win/Skipped:
    * platform/wk2/Skipped:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@122199 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    b3d37027