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

Side by Side Diff: LayoutTests/http/tests/websocket/unmasked-frames_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 handshake 2 from mod_pywebsocket import handshake
3 from mod_pywebsocket import stream 3 from mod_pywebsocket import stream
4 from mod_pywebsocket import msgutil 4 from mod_pywebsocket import msgutil
5 5
6 6
7 def web_socket_do_extra_handshake(request): 7 def web_socket_do_extra_handshake(request):
8 pass 8 pass
9 9
10 10
(...skipping 15 matching lines...) Expand all
26 assert final 26 assert final
27 assert not reserved1 27 assert not reserved1
28 assert not reserved2 28 assert not reserved2
29 assert not reserved3 29 assert not reserved3
30 30
31 # Send a masked close frame. Clients should be able to handle this frame and 31 # Send a masked close frame. Clients should be able to handle this frame and
32 # the WebSocket object should be closed cleanly. 32 # the WebSocket object should be closed cleanly.
33 request.connection.write(stream.create_close_frame('', mask=False)) 33 request.connection.write(stream.create_close_frame('', mask=False))
34 34
35 raise handshake.AbortedByUserException('Abort the connection') # Prevents py websocket from starting its own closing handshake. 35 raise handshake.AbortedByUserException('Abort the connection') # Prevents py websocket from starting its own closing handshake.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698