Chromium Code Reviews| Index: LayoutTests/http/tests/websocket/pong-only_wsh.py |
| diff --git a/LayoutTests/http/tests/websocket/pong-only_wsh.py b/LayoutTests/http/tests/websocket/pong-only_wsh.py |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..7399104a3f81a01074ce246ca9c7e49e821b8d7c |
| --- /dev/null |
| +++ b/LayoutTests/http/tests/websocket/pong-only_wsh.py |
| @@ -0,0 +1,11 @@ |
| +import cgi |
|
tyoshino (SeeGerritForStatus)
2015/01/05 05:19:45
needed?
Adam Rice
2015/01/05 20:24:32
Removed.
|
| + |
| + |
| +def web_socket_do_extra_handshake(request): |
| + pass |
| + |
| + |
| +def web_socket_transfer_data(request): |
| + request.ws_stream._send_pong("{payload: 'yes'}") |
| + request.ws_stream.send_message("sent pong") |
| + line = request.ws_stream.receive_message() |