| Index: LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header.html
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header.html b/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header.html
|
| deleted file mode 100644
|
| index b72a5114b5797f230a880d28ae458a709626fcf0..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-connection-header.html
|
| +++ /dev/null
|
| @@ -1,49 +0,0 @@
|
| -<!DOCTYPE HTML>
|
| -<html>
|
| -<head>
|
| -<script src="/js-test-resources/js-test.js"></script>
|
| -</head>
|
| -<body>
|
| -<div id="description"></div>
|
| -<div id="console"></div>
|
| -<script>
|
| -description("Test that WebSocket handshake fails if Connection header field isn't reflected by the server.");
|
| -
|
| -window.jsTestIsAsync = true;
|
| -
|
| -function endTest()
|
| -{
|
| - clearTimeout(timeoutID);
|
| - finishJSTest();
|
| -}
|
| -
|
| -var url = "ws://localhost:8880/handshake-fail-by-no-connection-header";
|
| -var ws = new WebSocket(url);
|
| -
|
| -ws.onopen = function()
|
| -{
|
| - debug("FAIL: Connected");
|
| -};
|
| -
|
| -ws.onmessage = function(messageEvent)
|
| -{
|
| - protocol = messageEvent.data;
|
| - ws.close();
|
| -};
|
| -
|
| -ws.onclose = function()
|
| -{
|
| - endTest();
|
| -};
|
| -
|
| -function timeOutCallback()
|
| -{
|
| - debug("Timed out in state: " + ws.readyState);
|
| - endTest();
|
| -}
|
| -
|
| -var timeoutID = setTimeout(timeOutCallback, 3000);
|
| -
|
| -</script>
|
| -</body>
|
| -</html>
|
|
|