Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / websocket / echo-with-no-extension.html
blobbb1e264d8842c894af4f90e88d9c4cd187870cfd
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="/js-test-resources/js-test.js"></script>
5 </head>
6 <body>
7 <div id="description"></div>
8 <div id="console"></div>
9 <script>
10 description("Test WebSocket.extensions attribute with no extension support in server side.");
12 window.jsTestIsAsync = true;
14 var ws = new WebSocket("ws://localhost:8880/echo-with-no-extension");
15 debug("Check the value before opening the connection:");
16 shouldBeEqualToString("ws.extensions", "");
18 // extensions attribute is read-only.
19 debug("Check if the value is read only:");
20 shouldBeEqualToString("ws.extensions = 'foo'; ws.extensions", "");
22 ws.onopen = function(event)
24 debug("Check the value after the connection is established:");
25 shouldBeEqualToString("ws.extensions", "");
26 finishJSTest();
29 </script>
30 </body>
31 </html>