Test if Web Socket is closed on unload and not crashed if garbage collected | |
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". | |
PASS ws on master document is ready. | |
PASS insert a iframe, where open ws called 'socket1' | |
PASS 'socket1' is sent to the server. unload the iframe and force garbage collection. expect receiving 'socket1' on ws and no crash... | |
PASS closedSocket is "socket1" | |
PASS successfullyParsed is true | |
TEST COMPLETE | |