Chromium Code Reviews| 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..3f450a6bb8ed159aadd348e8e17e2f504101b4f3 |
| --- /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("Response contains a header the value of which is empty."); |
| + |
| +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"); |
|
tyoshino (SeeGerritForStatus)
2014/06/05 05:49:44
use '
yhirano
2014/06/05 05:57:21
Done.
|
| + finishJSTest(); |
| +}; |
| + |
| +</script> |
| +</body> |
| +</html> |