| <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> |
| <html> |
| <head> |
| <script src="/js-test-resources/js-test.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"> |
| description("Deflated message is split to multiple frames."); |
| |
| window.jsTestIsAsync = true; |
| |
| var ws = new WebSocket('ws://localhost:8880/permessage-deflate-split-frames'); |
| ws.onopen = function() |
| { |
| ws.send('kick'); |
| }; |
| |
| ws.onmessage = function(e) |
| { |
| debug('onmessage: ' + e.data); |
| } |
| |
| ws.onclose = function(e) |
| { |
| debug('onclose'); |
| finishJSTest(); |
| }; |
| |
| </script> |
| </body> |
| </html> |