Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / websocket / async-frames_wsh.py
blobf1b8eb6f2a376b0983f7555b3b39657e511462fb
1 from mod_pywebsocket import msgutil
2 import time
5 # Pause for long enough that frames are processed separately by the browser.
6 def pause_briefly():
7 time.sleep(0.01)
10 def web_socket_do_extra_handshake(request):
11 pass
14 def web_socket_transfer_data(request):
15 # send_message's third argument corresponds to "fin" bit;
16 # it is set to True if this frame is the final fragment of a message.
18 pause_briefly()
19 msgutil.send_message(request, '', False)
20 pause_briefly()
21 msgutil.send_message(request, '', True)
22 pause_briefly()