Index: LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header.html |
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header.html b/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-header.html |
deleted file mode 100644 |
index ccdbc2a2a1cd3fcaa6b4b510e15a146d238a8cfe..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-no-upgrade-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 Upgrade 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-upgrade-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> |