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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/websocket/receive-pong-with-payload_wsh.py
diff --git a/LayoutTests/http/tests/websocket/receive-pong-with-payload_wsh.py b/LayoutTests/http/tests/websocket/receive-pong-with-payload_wsh.py
new file mode 100644
index 0000000000000000000000000000000000000000..5db19c85606a9fa28f5c48f3f74c31708f18f102
--- /dev/null
+++ b/LayoutTests/http/tests/websocket/receive-pong-with-payload_wsh.py
@@ -0,0 +1,8 @@
+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()
« 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