summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/test/js_websocket-worker-test.js
diff options
context:
space:
mode:
Diffstat (limited to 'devtools/client/netmonitor/test/js_websocket-worker-test.js')
-rw-r--r--devtools/client/netmonitor/test/js_websocket-worker-test.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/devtools/client/netmonitor/test/js_websocket-worker-test.js b/devtools/client/netmonitor/test/js_websocket-worker-test.js
new file mode 100644
index 0000000000..9920f09cb8
--- /dev/null
+++ b/devtools/client/netmonitor/test/js_websocket-worker-test.js
@@ -0,0 +1,6 @@
+"use strict";
+openWorkerSocket();
+
+function openWorkerSocket() {
+ new WebSocket("wss://localhost:8081");
+}