2009-12-08 Fumitoshi Ukai <ukai@chromium.org>
authorukai@chromium.org <ukai@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Dec 2009 03:39:13 +0000 (03:39 +0000)
committerukai@chromium.org <ukai@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 9 Dec 2009 03:39:13 +0000 (03:39 +0000)
commitb16fa28eca808ac6000ce8139e83920b022a8021
tree31a3437ebd05a8f97dbdcff7dd1077d2b75d0b20
parent877eff73b2ca7f17fae08663217b7efd29f1cd5b
2009-12-08  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Darin Adler.

        WebSocket allow space (U+0020) in sub protocol name.
        https://bugs.webkit.org/show_bug.cgi?id=32266

        Skipped sub-protocol-with-space.html for now until new pywebsocket is
        landed.

        * websocket/tests/bad-sub-protocol-expected.txt:
        * websocket/tests/script-tests/bad-sub-protocol.js:
        * websocket/tests/script-tests/sub-protocol-with-space.js: Added.
        * websocket/tests/sub-protocol-with-space-expected.txt: Added.
        * websocket/tests/sub-protocol-with-space.html: Added.
2009-12-08  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Darin Adler.

        WebSocket allow space (U+0020) in sub protocol name.
        https://bugs.webkit.org/show_bug.cgi?id=32266

        Test: websocket/tests/sub-protocol-with-space.html

        * websockets/WebSocket.cpp:
        (WebCore::isValidProtocolString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@51886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/platform/mac/Skipped
LayoutTests/platform/win/Skipped
LayoutTests/websocket/tests/bad-sub-protocol-expected.txt
LayoutTests/websocket/tests/script-tests/bad-sub-protocol.js
LayoutTests/websocket/tests/script-tests/sub-protocol-with-space.js [new file with mode: 0644]
LayoutTests/websocket/tests/sub-protocol-with-space-expected.txt [new file with mode: 0644]
LayoutTests/websocket/tests/sub-protocol-with-space.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/websockets/WebSocket.cpp