OLD | NEW |
1 Test if Web Socket opened in iframe but referred in parent document is closed on
unloading the frame. | 1 Test if Web Socket opened in iframe but referred in parent document is closed on
unloading the frame. |
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 document.childWebSocket is non-null. | 7 PASS document.childWebSocket is non-null. |
8 PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socke
t1' on ws... | 8 PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socke
t1' on ws... |
9 PASS closedSocket is "socket1" | 9 PASS closedSocket is "socket1" |
| 10 PASS closeCode is "1001" |
10 PASS document.childWebSocket.readyState is 3 | 11 PASS document.childWebSocket.readyState is 3 |
11 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
12 | 13 |
13 TEST COMPLETE | 14 TEST COMPLETE |
14 | 15 |
OLD | NEW |