Index: LayoutTests/http/tests/websocket/permessage-deflate-split-frames.html |
diff --git a/LayoutTests/http/tests/websocket/permessage-deflate-split-frames.html b/LayoutTests/http/tests/websocket/permessage-deflate-split-frames.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2ecde7b4a7c6c059553b706fc29df0e7d9d821ca |
--- /dev/null |
+++ b/LayoutTests/http/tests/websocket/permessage-deflate-split-frames.html |
@@ -0,0 +1,31 @@ |
+<!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> |