blob: 64abe3e96f36645552d26197790ff79a1e84dadd [file] [log] [blame]
<!doctype html>
<title>WebSockets: new WebSocket() with no args</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() {
assert_throws(new TypeError(), function(){new WebSocket()});
});
</script>