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

Side by Side Diff: LayoutTests/http/tests/websocket/handshake-response-with-empty-valued-header.html

Issue 312253002: Test that a WebSocket handshake response with an empty valued header is accepted (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/http/tests/websocket/handshake-response-with-empty-valued-header-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <body>
3 <script src="../resources/testharness.js"></script>
4 <script src="../resources/testharnessreport.js"></script>
5 <script>
6 var t = async_test('An empty valued header in a WebSocket handshake response doe sn\'t fail a WebSocket');
7 t.step(function() {
8 var ws = new WebSocket('ws://127.0.0.1:8880/handshake-response-with-empty-va lued-header');
9 ws.onopen = function() {
10 t.done();
11 };
12 ws.onmessage = t.step_func(function(e) {
13 assert_unreached('Unexpected message event' + e);
14 });
15 ws.onerror = t.step_func(function() {
16 assert_unreached('Unexpected error event');
17 });
18 ws.onclose = t.step_func(function(e) {
19 assert_unreached('Unexpected close event' + e);
20 });
21 });
22 </script>
23 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/websocket/handshake-response-with-empty-valued-header-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698