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

Unified Diff: LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header-expected.txt

Issue 14320014: Make the WebSocket fail messages meaningful (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix a test expectation 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/handshake-fail-by-mismatch-protocol-header-expected.txt
diff --git a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header-expected.txt b/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header-expected.txt
index f7d1b951a20478f14334ca572c56095a734451ad..f8c47977fcfed20ca66ed3f4791749f94ee56889 100644
--- a/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header-expected.txt
+++ b/LayoutTests/http/tests/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header-expected.txt
@@ -1,6 +1,6 @@
-CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch
-CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch
-CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch
+CONSOLE MESSAGE: line 22: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch
+CONSOLE MESSAGE: line 24: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch
+CONSOLE MESSAGE: line 24: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Sec-WebSocket-Protocol mismatch
Test whether WebSocket handshake fails if the server sends mismatched Sec-WebSocket-Protocol header.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".

Powered by Google App Engine
This is Rietveld 408576698