blob: 1c58e86e022c22f32428199b292ba25b49950945 [file] [log] [blame]
<!doctype html>
<title>WebSockets: setting 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() {
var ws = new WebSocket(SCHEME_DOMAIN_PORT+'/');
ws.url = SCHEME_DOMAIN_PORT+'/test';
assert_equals(ws.url, SCHEME_DOMAIN_PORT+'/');
});
</script>