1 Test if WebSocket is closed when navigating to new location.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
5 PASS ws on master document is ready.
6 PASS insert a iframe, where open ws called 'socket1'
7 PASS 'socket1' is sent to the server. navigate to new location. expect receiving 'socket1' on ws...
8 PASS closedSocket is "socket1"
9 PASS closeCode is "1001"
10 PASS successfullyParsed is true