| Index: LayoutTests/http/tests/websocket/tests/hybi/multiple-connections.html
|
| diff --git a/LayoutTests/http/tests/websocket/tests/hybi/multiple-connections.html b/LayoutTests/http/tests/websocket/tests/hybi/multiple-connections.html
|
| deleted file mode 100644
|
| index 4b90762723bae0b9853d5a5c9b53d87a5667975d..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/http/tests/websocket/tests/hybi/multiple-connections.html
|
| +++ /dev/null
|
| @@ -1,34 +0,0 @@
|
| -<p>Test that WebSocket is not subject to HTTP connection limit. Should say PASS:</p>
|
| -<p id=result>Running...</p>
|
| -<script>
|
| -if (window.testRunner) {
|
| - testRunner.dumpAsText();
|
| - testRunner.waitUntilDone();
|
| -}
|
| -
|
| -var socketCount = 50;
|
| -var result = document.getElementById("result");
|
| -var sockets = [];
|
| -
|
| -for (i = 0; i < socketCount; ++i) {
|
| - var ws = new WebSocket("ws://127.0.0.1:8880/echo");
|
| - sockets[i] = ws;
|
| - ws.onopen = function() {
|
| - var num = parseInt(result.innerHTML);
|
| - if (!num)
|
| - num = 0;
|
| - if (num != socketCount - 1)
|
| - result.innerHTML = num + 1;
|
| - else {
|
| - result.innerHTML = "PASS";
|
| - for (j = 0; j < socketCount; ++j) {
|
| - sockets[j].onclose = null;
|
| - sockets[j].close();
|
| - }
|
| - if (window.testRunner)
|
| - testRunner.notifyDone();
|
| - }
|
| - }
|
| - ws.onclose = function() { alert("FAIL: unexpected close event") }
|
| -}
|
| -</script>
|
|
|