Files
servo/tests/wpt/web-platform-tests/websockets/interfaces/WebSocket/url/001.html

12 lines
352 B
HTML

<!doctype html>
<title>WebSockets: getting url</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_equals((new WebSocket(SCHEME_DOMAIN_PORT)).url, SCHEME_DOMAIN_PORT+'/');
});
</script>