1 CONSOLE ERROR: line 22: WebSocket connection to 'ws://localhost:8880/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Response must not include 'Sec-WebSocket-Protocol' header if not present in request: MismatchProtocol
2 CONSOLE ERROR: line 24: WebSocket connection to 'ws://localhost:8880/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: 'Sec-WebSocket-Protocol' header value 'MismatchProtocol' in response does not match any of sent values
3 CONSOLE ERROR: line 24: WebSocket connection to 'ws://localhost:8880/handshake-fail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: 'Sec-WebSocket-Protocol' header value 'MismatchProtocol' in response does not match any of sent values
4 Test whether WebSocket handshake fails if the server sends mismatched Sec-WebSocket-Protocol header.
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
8 PASS closeEvent.wasClean is false
9 PASS closeEvent.wasClean is false
10 PASS closeEvent.wasClean is false
11 PASS successfullyParsed is true