OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="/js-test-resources/js-test.js"></script> | 4 <script src="/js-test-resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <div id="description"></div> | 7 <div id="description"></div> |
8 <div id="console"></div> | 8 <div id="console"></div> |
9 <script> | 9 <script> |
10 description("Test WebSocket.binaryType attribute."); | 10 description("Test WebSocket.binaryType attribute."); |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 ws.binaryType = "ArrayBuffer" | 26 ws.binaryType = "ArrayBuffer" |
27 shouldBeEqualToString("ws.binaryType", "blob"); | 27 shouldBeEqualToString("ws.binaryType", "blob"); |
28 | 28 |
29 ws.binaryType = ""; | 29 ws.binaryType = ""; |
30 shouldBeEqualToString("ws.binaryType", "blob"); | 30 shouldBeEqualToString("ws.binaryType", "blob"); |
31 | 31 |
32 </script> | 32 </script> |
33 </body> | 33 </body> |
34 </html> | 34 </html> |
OLD | NEW |