Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / websocket / handshake-response-with-empty-valued-header.html
blob29ce90daff271ec00ccce00682d5178f2b2b9efa
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 doesn\'t fail a WebSocket');
7 t.step(function() {
8 var ws = new WebSocket('ws://127.0.0.1:8880/handshake-response-with-empty-valued-header');
9 ws.onopen = function() {
10 t.done();
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>