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

Side by Side Diff: LayoutTests/http/tests/websocket/tests/hybi/send.html

Issue 52103004: WebSocket layout test cleanup (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month 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-pre.js"></script> 4 <script src="/js-test-resources/js-test-pre.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("Web Socket send test"); 10 description("WebSocket send test");
11 11
12 window.jsTestIsAsync = true; 12 window.jsTestIsAsync = true;
13 13
14 function endTest() 14 function endTest()
15 { 15 {
16 clearTimeout(timeoutID); 16 clearTimeout(timeoutID);
17 finishJSTest(); 17 finishJSTest();
18 } 18 }
19 19
20 var ws = new WebSocket("ws://localhost:8880/websocket/tests/hybi/send"); 20 var ws = new WebSocket("ws://localhost:8880/websocket/tests/hybi/send");
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 testFailed("Timed out in state: " + ws.readyState); 54 testFailed("Timed out in state: " + ws.readyState);
55 endTest(); 55 endTest();
56 } 56 }
57 57
58 var timeoutID = setTimeout(timeOutCallback, 3000); 58 var timeoutID = setTimeout(timeOutCallback, 3000);
59 59
60 </script> 60 </script>
61 <script src="/js-test-resources/js-test-post.js"></script> 61 <script src="/js-test-resources/js-test-post.js"></script>
62 </body> 62 </body>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698