WebPlatformTest / HTML5test

How well does your browser support HTML5?
https://html5test.com
MIT License
995 stars 193 forks source link

add test for websocket #30

Closed sendtopms closed 14 years ago

sendtopms commented 14 years ago

This is the code for checking websocket support

<script>
    var ws_support = false;
    try{
        new WebSocket("ws://test:80");
        ws_support = true;
    } catch (e){

    }
    alert (ws_support);
</script>

NielsLeenheer commented 14 years ago

There is already a test for WebSocket at beta.html5test.com

sendtopms commented 14 years ago

Good. I did not see the beta.html5.