Changeset 90196 in webkit
- Timestamp:
- Jun 30, 2011 7:55:49 PM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r90195 r90196 1 2011-06-30 Yuta Kitamura <yutak@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 WebSocket: Don't use old Hixie75 handshake in pywebsocket handlers 6 https://bugs.webkit.org/show_bug.cgi?id=63704 7 8 * http/tests/websocket/tests/bad-handshake-crash_wsh.py: 9 Use handshake format of Hixie's protocol draft 76 which we are currently supporting. 10 * http/tests/websocket/tests/long-invalid-header_wsh.py: 11 Content of web_socket_transfer_data() is completely bogus. It's not necessary. 12 1 13 2011-06-30 Kent Tamura <tkent@chromium.org> 2 14 -
trunk/LayoutTests/http/tests/websocket/tests/bad-handshake-crash_wsh.py
r90099 r90196 1 1 def web_socket_do_extra_handshake(request): 2 msg = "HTTP/1.1 101 Web 2 msg = "HTTP/1.1 101 WebSocket Protocol Handshake\r\n" 3 3 msg += "Upgrade: WebSocket\r\n" 4 4 msg += "Connection: Upgrade\r\n" 5 msg += "Sec-WebSocket-Location: " + request.ws_location + "\r\n" 6 msg += "Sec-WebSocket-Origin: " + request.ws_origin + "\r\n" 5 7 msg += "\xa5:\r\n" 6 8 msg += "\r\n" 9 msg += request.ws_challenge_md5 7 10 request.connection.write(msg) 8 11 print msg -
trunk/LayoutTests/http/tests/websocket/tests/long-invalid-header_wsh.py
r90099 r90196 1 1 def web_socket_do_extra_handshake(request): 2 msg = "HTTP/1.1 101 Web 2 msg = "HTTP/1.1 101 WebSocket Protocol Handshake\r\n" 3 3 msg += ("p" * 1024) + "\r\n" 4 4 request.connection.write(msg) … … 6 6 7 7 def web_socket_transfer_data(request): 8 msg = "HTTP/1.1 101 Web Socket Protocol Handshake\r\n" 9 msg += ("p" * 1024) + "\r\n" 10 request.connection.write(msg) 8 pass
Note: See TracChangeset
for help on using the changeset viewer.