Index: LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength.html |
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength.html b/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength.html |
deleted file mode 100644 |
index 564c2cbca27662d1adfbca97ebab783061ea483b..0000000000000000000000000000000000000000 |
--- a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-maxlength.html |
+++ /dev/null |
@@ -1,58 +0,0 @@ |
-<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
-<html> |
-<head> |
-<script src="/js-test-resources/js-test.js"></script> |
-</head> |
-<body> |
-<div id="description"></div> |
-<div id="console"></div> |
-<script> |
-description('Connection should fail immediately, rather than succeeding or staying in limbo until timeout, if handshake is longer than 1024 bytes.'); |
- |
-window.jsTestIsAsync = true; |
- |
-var timedOut = false; |
-var connected = false; |
-var origin; |
- |
-function endTest() { |
- shouldBeFalse('timedOut'); |
- shouldBeFalse('connected'); |
- shouldBeUndefined('origin'); |
- clearTimeout(timeoutID); |
- finishJSTest(); |
-} |
- |
-var url = 'ws://localhost:8880/handshake-fail-by-maxlength'; |
-var ws = new WebSocket(url); |
- |
-ws.onopen = function() |
-{ |
- debug('Connected'); |
- connected = true; |
-} |
- |
-ws.onmessage = function(messageEvent) |
-{ |
- origin = messageEvent.data; |
- debug('origin = ' + origin); |
- ws.close(); |
-} |
- |
-ws.onclose = function() |
-{ |
- endTest(); |
-} |
- |
-function timeoutCallback() |
-{ |
- debug('Timed out (state = ' + ws.readyState + ')'); |
- timedOut = true; |
- endTest(); |
-} |
- |
-var timeoutID = setTimeout(timeoutCallback, 3000); |
- |
-</script> |
-</body> |
-</html> |