| OLD | NEW |
| 1 Test if WebSocket is closed on unload | 1 Test if WebSocket is closed on unload |
| 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 on master document is ready. | 5 PASS ws on master document is ready. |
| 6 PASS insert a iframe, where open ws called 'socket1' | 6 PASS insert a iframe, where open ws called 'socket1' |
| 7 PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socke
t1' on ws... | 7 PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socke
t1' on ws... |
| 8 PASS closedSocket is "socket1" | 8 PASS closedSocket is "socket1" |
| 9 PASS closeCode is "1001" | 9 PASS closeCode is "1001" |
| 10 PASS successfullyParsed is true | 10 PASS successfullyParsed is true |
| 11 | 11 |
| 12 TEST COMPLETE | 12 TEST COMPLETE |
| 13 | 13 |
| OLD | NEW |