Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Unified Diff: LayoutTests/http/tests/websocket/permessage-deflate-split-frames.html

Issue 314043002: [WebSocket] Add tests for permessage deflate split frames. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698