summaryrefslogtreecommitdiffstats
path: root/toolkit/content/tests/chrome/file_about_networking_wsh.py
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/content/tests/chrome/file_about_networking_wsh.py')
-rw-r--r--toolkit/content/tests/chrome/file_about_networking_wsh.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/toolkit/content/tests/chrome/file_about_networking_wsh.py b/toolkit/content/tests/chrome/file_about_networking_wsh.py
new file mode 100644
index 0000000000..57bd353c21
--- /dev/null
+++ b/toolkit/content/tests/chrome/file_about_networking_wsh.py
@@ -0,0 +1,10 @@
+from mod_pywebsocket import msgutil
+
+
+def web_socket_do_extra_handshake(request):
+ pass
+
+
+def web_socket_transfer_data(request):
+ while not request.client_terminated:
+ msgutil.receive_message(request)