Index: include.preload.js |
=================================================================== |
--- a/include.preload.js |
+++ b/include.preload.js |
@@ -406,7 +406,7 @@ |
if (!(this instanceof WrappedWebSocket)) return RealWebSocket(); |
if (arguments.length < 1) return new RealWebSocket(); |
- var websocket = new RealWebSocket(url, protocols); |
+ var websocket = new RealWebSocket(url, protocols || []); |
checkRequest(websocket.url, function(blocked) |
{ |