blob: 9d467def3f9cb5b3ca7905b4a04ba5644e25f8a1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
<!doctype html>
<title>WebSockets: return value</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=../constants.sub.js></script>
<meta name="variant" content="?default">
<meta name="variant" content="?wss">
<meta name="variant" content="?wpt_flags=h2">
<div id=log></div>
<script>
test(function() {
assert_true(new WebSocket(SCHEME_DOMAIN_PORT + '/empty-message') instanceof WebSocket);
});
</script>
|