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

Side by Side Diff: LayoutTests/http/tests/websocket/send2_wsh.py

Issue 101143002: Remove hybi sub directory for WebSocket layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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
OLDNEW
1 from mod_pywebsocket import stream 1 from mod_pywebsocket import stream
2 2
3 3
4 def web_socket_do_extra_handshake(request): 4 def web_socket_do_extra_handshake(request):
5 pass # Always accept. 5 pass # Always accept.
6 6
7 7
8 def web_socket_transfer_data(request): 8 def web_socket_transfer_data(request):
9 # send 2 messages in one packet. 9 # send 2 messages in one packet.
10 request.connection.write(stream.create_text_frame("first message") + stream. create_text_frame("second message")) 10 request.connection.write(stream.create_text_frame("first message") + stream. create_text_frame("second message"))
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/send-throw-expected.txt ('k') | LayoutTests/http/tests/websocket/send_wsh.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698