blob: cd2a8715d357ce326a62e9e864df049c07f76671 [file] [log] [blame]
<!doctype html>
<title>WebSockets: getting readyState in connecting</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=../../../constants.js?pipe=sub></script>
<div id=log></div>
<script>
test(function(t) {
assert_equals((new WebSocket(SCHEME_DOMAIN_PORT+'/')).readyState, WebSocket.CONNECTING);
});
</script>