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

Side by Side Diff: LayoutTests/http/tests/websocket/bad-handshake-crash.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("Make sure WebSocket doesn't crash with bad handshake message."); 10 description("Make sure WebSocket doesn't crash with bad handshake message.");
11 11
12 window.jsTestIsAsync = true; 12 window.jsTestIsAsync = true;
13 13
14 var ws = new WebSocket("ws://127.0.0.1:8880/bad-handshake-crash"); 14 var ws = new WebSocket("ws://127.0.0.1:8880/bad-handshake-crash");
15 ws.onopen = function () { 15 ws.onopen = function () {
16 debug("WebSocket is open"); 16 debug("WebSocket is open");
17 }; 17 };
18 ws.onclose = function () { 18 ws.onclose = function () {
19 debug("WebSocket is closed"); 19 debug("WebSocket is closed");
20 finishJSTest(); 20 finishJSTest();
21 }; 21 };
22 22
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698