mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-08-15 17:29:11 +00:00
12 lines
344 B
HTML
12 lines
344 B
HTML
<!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>
|