Make sure WebSocket gives errors on long invalid upgrade header.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS onerror() was called
WebSocket is closed
PASS successfullyParsed is true
TEST COMPLETE
Make sure WebSocket gives errors on long invalid upgrade header.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS onerror() was called
WebSocket is closed
PASS successfullyParsed is true
TEST COMPLETE