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

Unified Diff: LayoutTests/http/tests/websocket/workers/close-before-open-expected.txt

Issue 211093005: [WebSocket] Add close-before-open layout test for workers (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed #2 Created 6 years, 9 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/workers/close-before-open-expected.txt
diff --git a/LayoutTests/http/tests/websocket/workers/close-before-open-expected.txt b/LayoutTests/http/tests/websocket/workers/close-before-open-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..107a0905d6ce0528a339199a2dfc78cd3df515e5
--- /dev/null
+++ b/LayoutTests/http/tests/websocket/workers/close-before-open-expected.txt
@@ -0,0 +1,5 @@
+CONSOLE WARNING: line 18: WebSocket connection to 'ws://127.0.0.1:8880/echo' failed: WebSocket is closed before the connection is established.
+This is a testharness.js-based test.
+PASS Test that an error is shown on the console when close() is called on a WebSocket synchronously right after it's constructed.
+Harness: the test ran to completion.
+

Powered by Google App Engine
This is Rietveld 408576698