Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: LayoutTests/http/tests/websocket/receive-pong-with-payload_wsh.py

Issue 788923007: Layout test to verify pong message from the server. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Apply changes suggested by tyoshino. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/http/tests/websocket/receive-pong-with-payload-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 def web_socket_do_extra_handshake(request):
2 pass
3
4
5 def web_socket_transfer_data(request):
6 request.ws_stream._send_pong("{payload: 'yes'}")
7 request.ws_stream.send_message("sent pong")
8 line = request.ws_stream.receive_message()
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/receive-pong-with-payload-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698