Upstream version 9.37.195.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / virtual / stable / http / tests / websocket / send-after-close-on-unload-expected.txt
1 Test if WebSocket opened in iframe, referred in parent document is, and try to send() returns false.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5 PASS ws on master document is ready.
6 PASS insert a iframe, where open ws called 'socket1'
7 PASS document.childWebSocket is non-null.
8 PASS 'socket1' is sent to the server. unload the iframe. expect receiving 'socket1' on ws...
9 PASS document.childWebSocket.send('send to closed socket') is undefined.
10 PASS closedSocket is "socket1"
11 PASS closeCode is "1001"
12 PASS document.childWebSocket.readyState is 3
13 PASS successfullyParsed is true
14
15 TEST COMPLETE
16