| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |