| OLD | NEW |
| 1 Test WebSocket subprotocol negotiation. | 1 Test WebSocket subprotocol negotiation. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 PASS ws.protocol is "" | 5 PASS ws.protocol is "" |
| 6 Connected | 6 Connected |
| 7 PASS ws.protocol is "superchat" | 7 PASS ws.protocol is "superchat" |
| 8 Received: superchat | 8 Received: superchat |
| 9 PASS receivedMessage is "superchat" | 9 PASS receivedMessage is "superchat" |
| 10 Closed | 10 Closed |
| 11 PASS ws.protocol is "superchat" | 11 PASS ws.protocol is "superchat" |
| 12 PASS closeEvent.wasClean is true | 12 PASS closeEvent.wasClean is true |
| 13 Exited onclose handler | 13 Exited onclose handler |
| 14 PASS ws.protocol is "superchat" | 14 PASS ws.protocol is "superchat" |
| 15 PASS successfullyParsed is true | 15 PASS successfullyParsed is true |
| 16 | 16 |
| 17 TEST COMPLETE | 17 TEST COMPLETE |
| 18 | 18 |
| OLD | NEW |