Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(756)

Side by Side Diff: LayoutTests/http/tests/websocket/tests/hybi/send-after-close-on-unload-expected.txt

Issue 23069004: Check WebSocket close code sent on unload (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updating the code comments for landing Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/http/tests/websocket/tests/hybi/send-after-close-on-unload.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test if Web Socket opened in iframe, referred in parent document is, and try to send() returns false. 1 Test if Web Socket opened in iframe, referred in parent document is, and try to send() returns false.
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 document.childWebSocket.send('send to closed socket') is undefined. 9 PASS document.childWebSocket.send('send to closed socket') is undefined.
10 PASS closedSocket is "socket1" 10 PASS closedSocket is "socket1"
11 PASS closeCode is "1001"
11 PASS document.childWebSocket.readyState is 3 12 PASS document.childWebSocket.readyState is 3
12 PASS successfullyParsed is true 13 PASS successfullyParsed is true
13 14
14 TEST COMPLETE 15 TEST COMPLETE
15 16
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/tests/hybi/send-after-close-on-unload.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698