| OLD | NEW |
| (Empty) |
| 1 WebSocket's message event should not be invoked while we are waiting for the res
ult of a synchronous operation (such as WebSocket.send()) on workers. | |
| 2 | |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
| 4 | |
| 5 INFO: Waiting for two seconds to make sure we receive messages from the server. | |
| 6 PASS PASS: closeEvent.wasClean is true | |
| 7 PASS PASS: event.length is 9 | |
| 8 PASS PASS: events[0] is "Got bufferedAmount: 0" | |
| 9 PASS PASS: events[1] is "Got bufferedAmount: 0" | |
| 10 PASS PASS: events[2] is "Got bufferedAmount: 0" | |
| 11 PASS PASS: events[3] is "Sent message: 1" | |
| 12 PASS PASS: events[4] is "Sent message: 2" | |
| 13 PASS PASS: events[5] is "Sent message: 3" | |
| 14 PASS PASS: events[6] is "Received message: 1" | |
| 15 PASS PASS: events[7] is "Received message: 2" | |
| 16 PASS PASS: events[8] is "Received message: 3" | |
| 17 DONE | |
| 18 PASS successfullyParsed is true | |
| 19 | |
| 20 TEST COMPLETE | |
| 21 | |
| OLD | NEW |