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

Side by Side Diff: LayoutTests/http/tests/websocket/tests/hybi/close-on-unload-and-force-gc-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
OLDNEW
1 Test if Web Socket is closed on unload and not crashed if garbage collected 1 Test if Web Socket is closed on unload and not crashed if garbage collected
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 'socket1' is sent to the server. unload the iframe and force garbage collec tion. expect receiving 'socket1' on ws and no crash... 7 PASS 'socket1' is sent to the server. unload the iframe and force garbage collec tion. expect receiving 'socket1' on ws and no crash...
8 PASS closedSocket is "socket1" 8 PASS closedSocket is "socket1"
9 PASS closeCode is "1001"
9 PASS successfullyParsed is true 10 PASS successfullyParsed is true
10 11
11 TEST COMPLETE 12 TEST COMPLETE
12 13
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698