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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/workers/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/workers/connect-error-by-no-websocket-server-expected.txt
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/workers/connect-error-by-no-websocket-server-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/workers/connect-error-by-no-websocket-server-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..c41d265e3a6dde9a598a6dfc5e3c88d579ed899c
--- /dev/null
+++ b/LayoutTests/http/tests/websocket/tests/hybi/workers/connect-error-by-no-websocket-server-expected.txt
@@ -0,0 +1,18 @@
+Verify firing error event behaviors in Worker.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+test0 Start
+PASS PASS: onerror was called
+PASS PASS: onclose was called
+test1 Start
+PASS PASS: onerror was called
+PASS PASS: onclose was called
+test2 Start
+PASS PASS: onerror was called
+PASS PASS: onclose was called
+DONE
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698