Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src="/js-test-resources/js-test.js"></script> | |
| 5 </head> | |
| 6 <body> | |
| 7 <script type="text/javascript"> | |
| 8 description("Response contains a header the value of which is empty."); | |
| 9 | |
| 10 window.jsTestIsAsync = true; | |
| 11 | |
| 12 var ws = new WebSocket('ws://localhost:8880/permessage-deflate-split-frames'); | |
| 13 ws.onopen = function() | |
| 14 { | |
| 15 ws.send('kick'); | |
| 16 }; | |
| 17 | |
| 18 ws.onmessage = function(e) | |
| 19 { | |
| 20 debug('onmessage: ' + e.data); | |
| 21 } | |
| 22 | |
| 23 ws.onclose = function(e) | |
| 24 { | |
| 25 debug("onclose"); | |
|
tyoshino (SeeGerritForStatus)
2014/06/05 05:49:44
use '
yhirano
2014/06/05 05:57:21
Done.
| |
| 26 finishJSTest(); | |
| 27 }; | |
| 28 | |
| 29 </script> | |
| 30 </body> | |
| 31 </html> | |
| OLD | NEW |