| OLD | NEW |
| (Empty) |
| 1 CONSOLE ERROR: line 22: WebSocket connection to 'ws://localhost:8880/handshake-f
ail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: Respo
nse 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-f
ail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: 'Sec-
WebSocket-Protocol' header value 'MismatchProtocol' in response does not match a
ny of sent values | |
| 3 CONSOLE ERROR: line 24: WebSocket connection to 'ws://localhost:8880/handshake-f
ail-by-mismatch-protocol-header' failed: Error during WebSocket handshake: 'Sec-
WebSocket-Protocol' header value 'MismatchProtocol' in response does not match a
ny of sent values | |
| 4 Test whether WebSocket handshake fails if the server sends mismatched Sec-WebSoc
ket-Protocol header. | |
| 5 | |
| 6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 7 | |
| 8 PASS closeEvent.wasClean is false | |
| 9 PASS closeEvent.wasClean is false | |
| 10 PASS closeEvent.wasClean is false | |
| 11 PASS successfullyParsed is true | |
| 12 | |
| 13 TEST COMPLETE | |
| 14 | |
| OLD | NEW |