mirror of
https://github.com/classilla/tenfourfox.git
synced 2026-03-15 03:16:39 +00:00
16 lines
494 B
HTML
16 lines
494 B
HTML
<!doctype html>
|
|
<title>WebSockets: '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+'/');
|
|
assert_equals(ws.URL, undefined);
|
|
assert_equals('URL' in ws, false);
|
|
assert_equals(WebSocket.prototype.URL, undefined);
|
|
assert_equals('URL' in WebSocket.prototype, false);
|
|
});
|
|
</script>
|