Test that WebSocket handshake fails if Upgrade header field isn't reflected by the server.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS onerror() was called
PASS successfullyParsed is true
TEST COMPLETE
Test that WebSocket handshake fails if Upgrade header field isn't reflected by the server.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS onerror() was called
PASS successfullyParsed is true
TEST COMPLETE