Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/multiple-connections.html

Issue 101143002: Remove hybi sub directory for WebSocket layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698