diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/test/Ice/info/Client.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/test/Ice/info/Client.js b/js/test/Ice/info/Client.js index 3f712b34127..940b59048c9 100644 --- a/js/test/Ice/info/Client.js +++ b/js/test/Ice/info/Client.js @@ -149,7 +149,7 @@ //test(info.headers.get("Sec-WebSocket-Accept") != null); test(ctx.get("ws.Upgrade").toLowerCase() == "websocket"); - test(ctx.get("ws.Connection") == "Upgrade"); + test(ctx.get("ws.Connection").indexOf("Upgrade") >= 0); test(ctx.get("ws.Sec-WebSocket-Protocol") == "ice.zeroc.com"); test(ctx.get("ws.Sec-WebSocket-Version") == "13"); test(ctx.get("ws.Sec-WebSocket-Key") !== null); |