WebSocket: Should be closed by receiving invalid continuation frame.
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Aug 2011 04:37:51 +0000 (04:37 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Aug 2011 04:37:51 +0000 (04:37 +0000)
commit18fe3e8acdc42687e6fe95d87ab45d7bc4d4fdd0
tree8b2084d2bbb5cdd902f566eef7c56eaa5a097580
parent1fedbd717de1ed96206971c941b307dc699693b0
WebSocket: Should be closed by receiving invalid continuation frame.

https://bugs.webkit.org/show_bug.cgi?id=65527

Patch by Takashi Toyoshima <toyoshim@chromium.org> on 2011-08-02
Reviewed by Kent Tamura.

Source/WebCore:

Test: http/tests/websocket/tests/hybi/invalid-continuation.html

* websockets/WebSocketChannel.cpp:
(WebCore::WebSocketChannel::processFrame):

LayoutTests:

* http/tests/websocket/tests/hybi/invalid-continuation-expected.txt: Added.
* http/tests/websocket/tests/hybi/invalid-continuation.html: Added.
* http/tests/websocket/tests/hybi/invalid-continuation_wsh.py: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@92260 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/http/tests/websocket/tests/hybi/invalid-continuation-expected.txt [new file with mode: 0644]
LayoutTests/http/tests/websocket/tests/hybi/invalid-continuation.html [new file with mode: 0644]
LayoutTests/http/tests/websocket/tests/hybi/invalid-continuation_wsh.py [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/websockets/WebSocketChannel.cpp