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

Side by Side Diff: LayoutTests/http/tests/websocket/fragmented-control-frame_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 common 1 from mod_pywebsocket import common
2 from mod_pywebsocket import msgutil 2 from mod_pywebsocket import msgutil
3 from mod_pywebsocket import stream 3 from mod_pywebsocket import stream
4 4
5 5
6 def web_socket_do_extra_handshake(request): 6 def web_socket_do_extra_handshake(request):
7 pass 7 pass
8 8
9 9
10 def web_socket_transfer_data(request): 10 def web_socket_transfer_data(request):
11 # Fragmented control frame is prohibited. The client must abort the connecti on. 11 # Fragmented control frame is prohibited. The client must abort the connecti on.
12 request.connection.write(stream.create_text_frame('This message should be ig nored.', opcode=common.OPCODE_PING, fin=0)) 12 request.connection.write(stream.create_text_frame('This message should be ig nored.', opcode=common.OPCODE_PING, fin=0))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698