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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/workers/connect-error-by-no-websocket-server.html

Issue 14071008: WebSocket object should fire error event when WebSocket server can't be connected. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: Add new layouttests into TestExceptions because it depends on chromium side patch Created 7 years, 8 months 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/workers/connect-error-by-no-websocket-server.html
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/workers/multiple-subprotocols.html b/LayoutTests/http/tests/websocket/tests/hybi/workers/connect-error-by-no-websocket-server.html
similarity index 83%
copy from LayoutTests/http/tests/websocket/tests/hybi/workers/multiple-subprotocols.html
copy to LayoutTests/http/tests/websocket/tests/hybi/workers/connect-error-by-no-websocket-server.html
index 5b18f008933747ea767ebbd9603b9d4992eeeeed..96c8f29b52bd8afbf6ec9d66a6314841c251b7f2 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/workers/multiple-subprotocols.html
+++ b/LayoutTests/http/tests/websocket/tests/hybi/workers/connect-error-by-no-websocket-server.html
@@ -7,7 +7,7 @@
<div id="description"></div>
<div id="console"></div>
<script type="text/javascript">
-description("Test WebSocket subprotocol negotiation in workers.");
+description("Verify firing error event behaviors in Worker.");
window.jsTestIsAsync = true;
@@ -16,7 +16,7 @@ function startsWith(str, prefix)
return str.indexOf(prefix) == 0;
}
-var worker = new Worker("resources/multiple-subprotocols.js");
+var worker = new Worker("resources/connect-error-by-no-websocket-server.js");
worker.onmessage = function (event)
{
var message = event.data;

Powered by Google App Engine
This is Rietveld 408576698