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

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

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/connect-error-by-no-websocket-server-expected.txt
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/connect-error-by-no-websocket-server-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/connect-error-by-no-websocket-server-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..e051decb9eba487e9714175156d4d068035f713e
--- /dev/null
+++ b/LayoutTests/http/tests/websocket/tests/hybi/connect-error-by-no-websocket-server-expected.txt
@@ -0,0 +1,18 @@
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8888/' failed: WebSocket is closed before the connection is established.
+Test that WebSocket fires error event if no WebSocket Server can be connected.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+test0 Start
+PASS onerror was called
+PASS onclose was called
+test1 Start
+PASS onerror was called
+PASS onclose was called
+test2 Start
+PASS onerror was called
+PASS onclose was called
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698