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

Side by Side Diff: LayoutTests/http/tests/websocket/simple-stress.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 <p>Test sending many messages, and sending a large message.</p> 1 <p>Test sending many messages, and sending a large message.</p>
2 <p>Should say PASS:</p> 2 <p>Should say PASS:</p>
3 <pre id=log>Running the test... 3 <pre id=log>Running the test...
4 </pre> 4 </pre>
5 <script> 5 <script>
6 var numSmallMessages = 1000; 6 var numSmallMessages = 1000;
7 7
8 if (window.testRunner) { 8 if (window.testRunner) {
9 testRunner.dumpAsText(); 9 testRunner.dumpAsText();
10 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ws.send(str); 43 ws.send(str);
44 ws.onmessage = function(msg) { 44 ws.onmessage = function(msg) {
45 log(msg.data.length == str.length ? "PASS" : "FAIL - wrong response leng th"); 45 log(msg.data.length == str.length ? "PASS" : "FAIL - wrong response leng th");
46 ws.send("Goodbye"); 46 ws.send("Goodbye");
47 ws.onmessage = null; 47 ws.onmessage = null;
48 if (window.testRunner) 48 if (window.testRunner)
49 setTimeout("testRunner.notifyDone()", 0); 49 setTimeout("testRunner.notifyDone()", 0);
50 } 50 }
51 } 51 }
52 </script> 52 </script>
OLDNEW
« no previous file with comments | « LayoutTests/http/tests/websocket/simple-expected.txt ('k') | LayoutTests/http/tests/websocket/simple-stress-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698