• commit-queue@webkit.org's avatar
    Remove Key3 and Challenge Response fields from Websocket implementation and Web Inspector. · fc97e395
    commit-queue@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=105738.
    
    Patch by Pan Deng <pan.deng@intel.com> on 2013-01-15
    Reviewed by Kent Tamura.
    
    Key3 and Challenge Response fields were obsoleted in IETF websocket spec, this patch removes related
    code in Websocket and Web Inspector
    
    No new tests as no new functionality added.
    
    * Modules/websockets/WebSocketHandshakeRequest.cpp: remove Key3 related code
    * Modules/websockets/WebSocketHandshakeRequest.h:
    (WebSocketHandshakeRequest):
    * Modules/websockets/WebSocketHandshakeResponse.cpp: remove Challenge response related code
    * Modules/websockets/WebSocketHandshakeResponse.h:
    (WebSocketHandshakeResponse):
    * inspector/Inspector.json: remove Key3 and Challenge response fields definition
    * inspector/InspectorResourceAgent.cpp: remove Key3 and Challenge response field from inspector agent
    (WebCore):
    (WebCore::InspectorResourceAgent::willSendWebSocketHandshakeRequest):
    (WebCore::InspectorResourceAgent::didReceiveWebSocketHandshakeResponse):
    * inspector/front-end/NetworkManager.js:
    (WebInspector.NetworkDispatcher.prototype.webSocketWillSendHandshakeRequest):
    (WebInspector.NetworkDispatcher.prototype.webSocketHandshakeResponseReceived):
    * inspector/front-end/RequestHeadersView.js: remove Key3 and Challenge response item from front-end.
    (WebInspector.RequestHeadersView.prototype._refreshRequestHeaders):
    (WebInspector.RequestHeadersView.prototype._refreshResponseHeaders):
    (WebInspector.RequestHeadersView.prototype._refreshHeaders):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    fc97e395
WebSocketHandshakeResponse.cpp 2.63 KB