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

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

Issue 101143002: Remove hybi sub directory for WebSocket layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years 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 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="/js-test-resources/js-test.js"></script> 4 <script src="/js-test-resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <div id="description"></div> 7 <div id="description"></div>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 description("Test if WebSocket opened in iframe, referred in parent document is, and try to send() returns false."); 10 description("Test if WebSocket opened in iframe, referred in parent document is, and try to send() returns false.");
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 { 44 {
45 shouldBeNonNull("document.childWebSocket"); 45 shouldBeNonNull("document.childWebSocket");
46 debug("PASS 'socket1' is sent to the server. unload the iframe. expect recei ving 'socket1' on ws..."); 46 debug("PASS 'socket1' is sent to the server. unload the iframe. expect recei ving 'socket1' on ws...");
47 document.body.removeChild(frameDiv); 47 document.body.removeChild(frameDiv);
48 shouldBeUndefined("document.childWebSocket.send('send to closed socket')"); 48 shouldBeUndefined("document.childWebSocket.send('send to closed socket')");
49 }; 49 };
50 50
51 </script> 51 </script>
52 </body> 52 </body>
53 </html> 53 </html>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/send.html ('k') | LayoutTests/http/tests/websocket/send-after-close-on-unload-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698