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

Side by Side Diff: LayoutTests/http/tests/websocket/invalid-subprotocol-characters.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> 1 <!DOCTYPE html>
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("WebSocket should fail if subprotocol contains a forbidden character ."); 10 description("WebSocket should fail if subprotocol contains a forbidden character .");
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 shouldThrow("new WebSocket(url, \"" + escapeUnicodeCharacter(codePoint) + "\")"); 45 shouldThrow("new WebSocket(url, \"" + escapeUnicodeCharacter(codePoint) + "\")");
46 setTimeout("runTest(" + (codePoint + 1) + ")", 0); 46 setTimeout("runTest(" + (codePoint + 1) + ")", 0);
47 } 47 }
48 } 48 }
49 49
50 runTest(0); 50 runTest(0);
51 51
52 </script> 52 </script>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698