2009-12-06 Fumitoshi Ukai <ukai@chromium.org>
authorukai@chromium.org <ukai@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 02:19:56 +0000 (02:19 +0000)
committerukai@chromium.org <ukai@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 7 Dec 2009 02:19:56 +0000 (02:19 +0000)
commit4c8a2304967f8d96f5152fd52fac7f3a8950d27d
tree8817671f491226c315baf7ce97db849042d81289
parent8db0e76ea61a296a62a4835b9e81ff3de059f6c5
2009-12-06  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Add tests for cross-origin WebSocket usage
        https://bugs.webkit.org/show_bug.cgi?id=32055

        * websocket/tests/cross-origin-expected.txt: Added.
        * websocket/tests/cross-origin.html: Added.
        * websocket/tests/fixed-origin_wsh.py: Added.
        * websocket/tests/handshake-fail-by-cross-origin-expected.txt: Added.
        * websocket/tests/handshake-fail-by-cross-origin.html: Added.
        * websocket/tests/origin-test_wsh.py: Added.
        * websocket/tests/script-tests/cross-origin.js: Added.
        * websocket/tests/script-tests/frame-length-longer-than-buffer.js:
        * websocket/tests/script-tests/frame-length-skip.js:
        * websocket/tests/script-tests/handshake-error.js:
        * websocket/tests/script-tests/handshake-fail-by-cross-origin.js: Added.
        * websocket/tests/script-tests/simple.js:
        * websocket/tests/simple-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51743 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
LayoutTests/ChangeLog
LayoutTests/websocket/tests/cross-origin-expected.txt [new file with mode: 0644]
LayoutTests/websocket/tests/cross-origin.html [new file with mode: 0644]
LayoutTests/websocket/tests/fixed-origin_wsh.py [new file with mode: 0644]
LayoutTests/websocket/tests/handshake-fail-by-cross-origin-expected.txt [new file with mode: 0644]
LayoutTests/websocket/tests/handshake-fail-by-cross-origin.html [new file with mode: 0644]
LayoutTests/websocket/tests/origin-test_wsh.py [new file with mode: 0644]
LayoutTests/websocket/tests/script-tests/cross-origin.js [new file with mode: 0644]
LayoutTests/websocket/tests/script-tests/frame-length-longer-than-buffer.js
LayoutTests/websocket/tests/script-tests/frame-length-skip.js
LayoutTests/websocket/tests/script-tests/handshake-error.js
LayoutTests/websocket/tests/script-tests/handshake-fail-by-cross-origin.js [new file with mode: 0644]
LayoutTests/websocket/tests/script-tests/simple.js
LayoutTests/websocket/tests/simple-expected.txt